From 980c6ced7998ac5ccfa5729082822769c8a1c8c8 Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Mon, 14 Oct 2024 13:45:33 +0200 Subject: [PATCH] Pin Ubuntu version in coverage workflow --- .github/workflows/coveralls.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index a348aad9c3..7aff9ea4fd 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -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 @@ -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 @@ -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