Skip to content

Commit

Permalink
Allow artifacts to be generated with errors
Browse files Browse the repository at this point in the history
  • Loading branch information
younglim authored Jul 23, 2024
1 parent 5404878 commit 4a2acf4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4a2acf4

Please sign in to comment.