File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 7676 make env
7777 cat .env
7878
79+ - name : Read environment file and set variables
80+ uses : cosq-network/dotenv-loader@v1.0.2
81+ with :
82+ # Somehow, the working-directory is not taken into account
83+ env-file : tests/.env
84+
7985 # For testing only
8086# - name: Update projects
8187# run: |
@@ -206,18 +212,23 @@ jobs:
206212 spec : cypress/integration/*-ghaction.js
207213 wait-on : http://localhost:8130
208214
209- - name : QGIS Server all logs to file
215+ - name : Export some logs to files
210216 if : always()
211217 run : |
212- docker logs lizmap${LZMBRANCH}_test_qgis &> /tmp/qgis-server-all.log
213-
214- - name : QGIS Server all logs upload
218+ mkdir -p /tmp/e2e/lwc
219+ mkdir -p /tmp/e2e/docker
220+ docker logs lizmap${{ env.LZMBRANCH }}_test_qgis &> /tmp/e2e/docker/qgis-server.log | true
221+ docker logs lizmap${{ env.LZMBRANCH }}_test_php &> /tmp/e2e/docker/php.log | true
222+ docker logs lizmap${{ env.LZMBRANCH }}_test_nginx &> /tmp/e2e/docker/nginx.log | true
223+ cp -r ../lizmap/var/log /tmp/e2e/lwc/
224+
225+ - name : Upload all logs as artifact
215226 uses : actions/upload-artifact@v4.5.0
216227 if : always()
217228 with :
218- name : E2E-QGIS-server- logs-all
229+ name : E2E-all- logs
219230 path : |
220- /tmp/qgis-server-all.log
231+ /tmp/e2e/
221232
222233 - name : Notify in case of cypress failure, from mainstream branches only
223234 uses : peter-evans/commit-comment@v3
You can’t perform that action at this time.
0 commit comments