Skip to content

Commit a926505

Browse files
authored
add ubuntu-latest to CI (#654)
1 parent 2c0575a commit a926505

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
build-on-linux:
4848
strategy:
4949
matrix:
50-
runs-on: [ubuntu-20.04, ubuntu-22.04]
50+
runs-on: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest]
5151
compiler: [g++, clang++]
5252
runs-on: ${{ matrix.runs-on }}
5353
steps:
@@ -72,7 +72,7 @@ jobs:
7272
xvfb-run -a meson test -C build --verbose --no-stdsplit
7373
7474
codecov:
75-
runs-on: ubuntu-22.04
75+
runs-on: ubuntu-latest
7676
permissions:
7777
checks: write
7878
pull-requests: write
@@ -94,14 +94,14 @@ jobs:
9494
xvfb-run -a meson test -C build --verbose --no-stdsplit
9595
- name: lcov
9696
run: |
97-
lcov --directory . --capture --output-file coverage.info; # capture coverage info
97+
lcov --ignore-errors mismatch --directory . --capture --output-file coverage.info; # capture coverage info
9898
lcov --remove coverage.info '/usr/*' --output-file coverage.info; # filter out system
9999
lcov --remove coverage.info '*Test*' --output-file coverage.info; # filter out system
100100
lcov --remove coverage.info '*gtest*' --output-file coverage.info; # filter out system
101101
lcov --list coverage.info; #debug info
102102
# https://docs.codecov.com/docs/quick-start
103103
- name: "Upload coverage reports to Codecov"
104-
uses: codecov/codecov-action@v4
104+
uses: codecov/codecov-action@v5
105105
env:
106106
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
107107
with:

0 commit comments

Comments
 (0)