ci: Add test result collection job

This commit is contained in:
Mike A.
2024-09-03 19:59:48 +02:00
parent abad1c037c
commit 886b78c82c

View File

@@ -42,3 +42,15 @@ jobs:
- name: Run unit tests
run: poetry run pytest
results:
runs-on: ubuntu-latest
needs: test
steps:
- run: |
result="${{ needs.test.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi