We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd95729 commit 404e7cdCopy full SHA for 404e7cd
src/cpp-app/workflows/ci.yml
@@ -64,7 +64,10 @@ jobs:
64
run: ./build.sh -r
65
66
- name: Run Unit Tests
67
- run: build/bin/app_utests > test-results.md
+ shell: bash
68
+ run: |
69
+ set -o pipefail
70
+ build/bin/app_utests | tee test-results.md
71
72
- name: Generate coverage report
73
run: cd build && gcovr -r ..
@@ -89,7 +92,9 @@ jobs:
89
92
90
93
- name: Add test results to job summary
91
94
run: |
95
+ echo -e "Unit test results: \n\`\`\` " >> $GITHUB_STEP_SUMMARY
96
cat test-results.md >> $GITHUB_STEP_SUMMARY
97
+ echo -e "\n\`\`\`" >> $GITHUB_STEP_SUMMARY
98
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
99
100
- name: Run Linters
0 commit comments