Skip to content

Commit

Permalink
Pin Ubuntu version in coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Oct 14, 2024
1 parent afdf29a commit 980c6ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Capture baseline
run: |
mkdir -p coverage tmp
lcov --no-external --capture --ignore-errors mismatch --initial --directory . --output-file ./tmp/lcov_base.info
lcov --no-external --capture --initial --directory . --output-file ./tmp/lcov_base.info
- name: Run tests
run: |
./test-suite/quantlib-test-suite --log_level=message
Expand All @@ -31,7 +31,7 @@ jobs:
make -C Examples check-examples
- name: Capture coverage
run: |
lcov --no-external --capture --ignore-errors mismatch --directory . --output-file ./tmp/lcov_run.info
lcov --no-external --capture --directory . --output-file ./tmp/lcov_run.info
lcov --add-tracefile ./tmp/lcov_base.info --add-tracefile ./tmp/lcov_run.info --output-file ./tmp/lcov_total.info
lcov --remove ./tmp/lcov_total.info "$PWD/Examples/*" "$PWD/test-suite/*" --output-file ./coverage/lcov.info
- name: Upload coverage to Coveralls
Expand Down

0 comments on commit 980c6ce

Please sign in to comment.