Skip to content

Commit

Permalink
Fail steps where logs have failures
Browse files Browse the repository at this point in the history
This makes them open in the UI
  • Loading branch information
caendesilva committed Aug 20, 2024
1 parent b9ff7d5 commit 968660b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,33 @@ jobs:
- name: Display Unit Tests Output
if: always()
run: cat test_outputs/unit.log
run: |
cat test_outputs/unit.log
grep -q "Unit tests failed" test_failures && exit 1 || exit 0
- name: Display Feature Hyde Tests Output
if: always()
run: cat test_outputs/feature_hyde.log
run: |
cat test_outputs/feature_hyde.log
grep -q "Feature Hyde tests failed" test_failures && exit 1 || exit 0
- name: Display Feature Framework Tests Output
if: always()
run: cat test_outputs/feature_framework.log
run: |
cat test_outputs/feature_framework.log
grep -q "Feature Framework tests failed" test_failures && exit 1 || exit 0
- name: Display Publications Tests Output
if: always()
run: cat test_outputs/publications.log
run: |
cat test_outputs/publications.log
grep -q "Publications tests failed" test_failures && exit 1 || exit 0
- name: Display Realtime Compiler Tests Output
if: always()
run: cat test_outputs/realtime_compiler.log
run: |
cat test_outputs/realtime_compiler.log
grep -q "Realtime Compiler tests failed" test_failures && exit 1 || exit 0
- name: Merge JUnit XML Reports
if: always()
Expand Down

0 comments on commit 968660b

Please sign in to comment.