Skip to content

Commit

Permalink
Fail the workflow in case of tests failure
Browse files Browse the repository at this point in the history
Always collect test reports
  • Loading branch information
federicaagostini authored Nov 19, 2024
1 parent be653fa commit fdddb64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@ jobs:
run: docker compose up --build -d storage-setup webdav nginx

- name: Run testsuite
if: ${{ always() }}
working-directory: compose
run: |
docker compose up -d ts
docker compose exec -T ts bash -c '/scripts/ci-run-testsuite.sh'
continue-on-error: true
- name: Create artifacts directory
if: ${{ always() }}
run: mkdir -p ${ARTIFACTS}

- name: Collect test reports
if: ${{ always() }}
run: docker cp storm-webdav-ts-1:/home/test/robot/reports ${ARTIFACTS}

- name: Collect service log
Expand Down

0 comments on commit fdddb64

Please sign in to comment.