Skip to content

Commit

Permalink
Improve unit test printout (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch authored Sep 4, 2024
1 parent fd95729 commit 404e7cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/cpp-app/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:
run: ./build.sh -r

- name: Run Unit Tests
run: build/bin/app_utests > test-results.md
shell: bash
run: |
set -o pipefail
build/bin/app_utests | tee test-results.md
- name: Generate coverage report
run: cd build && gcovr -r ..
Expand All @@ -89,7 +92,9 @@ jobs:
- name: Add test results to job summary
run: |
echo -e "Unit test results: \n\`\`\` " >> $GITHUB_STEP_SUMMARY
cat test-results.md >> $GITHUB_STEP_SUMMARY
echo -e "\n\`\`\`" >> $GITHUB_STEP_SUMMARY
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
- name: Run Linters
Expand Down

0 comments on commit 404e7cd

Please sign in to comment.