Skip to content

Commit

Permalink
Merge pull request #1943 from hydephp/update-smoke-tests-workflow
Browse files Browse the repository at this point in the history
Internal: Update smoke testing workflow to fail steps where logs have failures
  • Loading branch information
caendesilva authored Aug 20, 2024
2 parents b9ff7d5 + 968660b commit d624622
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 d624622

Please sign in to comment.