Skip to content

Commit

Permalink
run coverage only on ubuntu22
Browse files Browse the repository at this point in the history
  • Loading branch information
mrp089 committed Feb 6, 2025
1 parent 709accb commit ac07e6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,18 @@ jobs:
cd build/svMultiPhysics-build/Source/solver
ctest --verbose
- name: Generate code coverage
if: ${{ matrix.version == 'ubuntu-22.04' }}
run: |
cd build/svMultiPhysics-build
make coverage
- name: Save coverage report
uses: actions/upload-artifact@v3
if: ${{ matrix.version == 'ubuntu-22.04' }}
uses: actions/upload-artifact@v4
with:
name: coverage_report
path: build/svMultiPhysics-build/coverage
- name: Upload coverage reports to Codecov
if: ${{ matrix.version == 'ubuntu-22.04' }}
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit ac07e6f

Please sign in to comment.