From c12997d5737d6302e439c0b93de975ae0f7a9e2f Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 21 May 2024 20:52:17 -0400 Subject: [PATCH 1/2] Attempt to fix coverage workflow --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 20c3a42b3..790382acf 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -29,12 +29,12 @@ jobs: - name: Install tox run: | python -m pip install --upgrade pip - pip install tox coveragepy-lcov 'coverage<7' + pip install tox coverage - name: Run coverage run: | tox -e coverage - name: Convert to lcov - run: coveragepy-lcov --output_file_path coveralls.info + run: coverage3 lcov -o coveralls.info - name: Upload report to Coveralls uses: coverallsapp/github-action@v2 with: From 93e6f31b33bb2a019185567cca0d0f2ff46ec153 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 21 May 2024 21:30:57 -0400 Subject: [PATCH 2/2] Make coveralls filename end in lcov --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 790382acf..be286f292 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,10 +34,10 @@ jobs: run: | tox -e coverage - name: Convert to lcov - run: coverage3 lcov -o coveralls.info + run: coverage3 lcov -o coveralls.lcov - name: Upload report to Coveralls uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - file: coveralls.info + file: coveralls.lcov format: lcov