From 4a2acf4fb14df5945d5b811bd0655b5fb6fc06b9 Mon Sep 17 00:00:00 2001 From: Zui Young Date: Tue, 23 Jul 2024 14:07:40 +0800 Subject: [PATCH] Allow artifacts to be generated with errors --- .github/workflows/docker-tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml index 30df601..9d7c626 100644 --- a/.github/workflows/docker-tests.yml +++ b/.github/workflows/docker-tests.yml @@ -24,15 +24,18 @@ jobs: run: | chmod +x ./shell_scripts/start_docker.sh ./shell_scripts/start_docker.sh "${{ github.event.inputs.A11Y_CHECKOUT || 'git+https://github.com/GovTechSG/purple-a11y.git#master' }}" - + continue-on-error: true + - name: Run stop_docker.sh script run: | chmod +x ./shell_scripts/stop_docker.sh ./shell_scripts/stop_docker.sh - + continue-on-error: true + - name: Zip Cypress reports folder run: zip -r cypress-reports.zip ./cypress - + continue-on-error: true + - name: Upload Cypress reports as artifact uses: actions/upload-artifact@v2 with: