From b9b1665cb28e8115959e344a8bdaa507647a9ef1 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 27 Jan 2022 20:35:05 +0100 Subject: Pin the version of "coverage" in CI to 6.2 (#28638) Hotfix for coverage v6.3 blocking our CI workflows --- .github/workflows/unit_tests.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index a1cd2bbd42..2f36957f7d 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -121,7 +121,7 @@ jobs: patchelf cmake bison libbison-dev kcov - name: Install Python packages run: | - pip install --upgrade pip six setuptools pytest codecov coverage[toml] + pip install --upgrade pip six setuptools pytest codecov "coverage[toml]<=6.2" # ensure style checks are not skipped in unit tests for python >= 3.6 # note that true/false (i.e., 1/0) are opposite in conditions in python and bash if python -c 'import sys; sys.exit(not sys.version_info >= (3, 6))'; then @@ -180,7 +180,7 @@ jobs: sudo apt-get install -y coreutils kcov csh zsh tcsh fish dash bash - name: Install Python packages run: | - pip install --upgrade pip six setuptools pytest codecov coverage[toml] + pip install --upgrade pip six setuptools pytest codecov coverage[toml]==6.2 - name: Setup git configuration run: | # Need this for the git tests to succeed. @@ -248,7 +248,7 @@ jobs: patchelf kcov - name: Install Python packages run: | - pip install --upgrade pip six setuptools pytest codecov coverage[toml] clingo + pip install --upgrade pip six setuptools pytest codecov coverage[toml]==6.2 clingo - name: Setup git configuration run: | # Need this for the git tests to succeed. @@ -291,7 +291,7 @@ jobs: - name: Install Python packages run: | pip install --upgrade pip six setuptools - pip install --upgrade pytest codecov coverage[toml] + pip install --upgrade pytest codecov coverage[toml]==6.2 - name: Setup Homebrew packages run: | brew install dash fish gcc gnupg2 kcov @@ -333,7 +333,7 @@ jobs: python-version: 3.9 - name: Install Python packages run: | - pip install --upgrade pip six setuptools pytest codecov coverage[toml] + pip install --upgrade pip six setuptools pytest codecov coverage[toml]==6.2 - name: Package audits (with coverage) if: ${{ needs.changes.outputs.with_coverage == 'true' }} run: | -- cgit v1.2.3-60-g2f50