Skip to content

Commit

Permalink
Streamlining workflow and tracking artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Sep 3, 2024
1 parent 3e4a90d commit f669af9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 42 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ jobs:
- name: Run tests
run: |
cd build && ctest
cd build && ctest -V --output-junit test_results.xml
- name: Upload unit test results
uses: actions/upload-artifact@v4
name: unit-test-results
path: build/test_results.xml

- name: Setup GCov
run: |
Expand All @@ -49,4 +54,10 @@ jobs:
run: |
source venv/bin/activate
cd build
gcovr -r .. --filter '\.\./src'
gcovr -r .. --filter '\.\./src' --html history_code_coverage.html
- name: Upload code coverage results
uses: actions/upload-artifact@v4
name: code-coverage-results
path: build/history_code_coverage.html

40 changes: 0 additions & 40 deletions .github/workflows/unit-test.yml

This file was deleted.

0 comments on commit f669af9

Please sign in to comment.