Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal: Update smoke testing workflow to fail steps where logs have failures #1943

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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