From 634f4672ec35c73a1bc9ac85d604e6fdc416e3d0 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Mon, 9 Jan 2023 13:52:04 -0500 Subject: [PATCH] ci: pin coverage < 7 when running coveragepy-lcov (#33) Pin coverage to < 7 when running coveragepy-lcov coverage 7.0.0 removed `FnmatchMatcher`, which coverage-lcov currently depends on. https://github.com/chaychoong/coveragepy-lcov/issues/5 We can unpin this once coverage-lcov has been fixed. --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 44ead28..9472fb4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -29,7 +29,7 @@ jobs: - name: Install tox run: | python -m pip install --upgrade pip - pip install tox coveragepy-lcov + pip install tox coveragepy-lcov 'coverage<7' - name: Run coverage run: tox -e coverage - name: Convert to lcov