Skip to content

Commit

Permalink
CI Maintenance (#34)
Browse files Browse the repository at this point in the history
* fix codecov
* test more macOS and Ubuntu versions
  • Loading branch information
hrantzsch committed Jul 8, 2023
1 parent 502312f commit 0f51db2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
config: [Debug, Release]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run cmake
run: cmake -G "Visual Studio 17" . -DBUILD_TESTS=yes -DCODE_COVERAGE=no
- name: Build and run tests
Expand All @@ -24,10 +24,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-12]
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13]
config: [Debug, Release, Coverage]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install dependencies
run: |
Expand Down Expand Up @@ -57,9 +57,8 @@ jobs:
run: gcovr -r . -f "src/*" -f "include/*" -x -o coverage.xml
- name: Upload coverage to Codecov
if: matrix.config == 'Coverage'
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
Expand Down

0 comments on commit 0f51db2

Please sign in to comment.