summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-01-27 20:35:05 +0100
committerGitHub <noreply@github.com>2022-01-27 20:35:05 +0100
commitb9b1665cb28e8115959e344a8bdaa507647a9ef1 (patch)
tree155189a8cad36b76c673653ce2ae76cf3fe120c5 /.github/workflows
parentec9748eaf308c929629247ba651721dd22e7a998 (diff)
downloadspack-b9b1665cb28e8115959e344a8bdaa507647a9ef1.tar.gz
spack-b9b1665cb28e8115959e344a8bdaa507647a9ef1.tar.bz2
spack-b9b1665cb28e8115959e344a8bdaa507647a9ef1.tar.xz
spack-b9b1665cb28e8115959e344a8bdaa507647a9ef1.zip
Pin the version of "coverage" in CI to 6.2 (#28638)
Hotfix for coverage v6.3 blocking our CI workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/unit_tests.yaml10
1 files changed, 5 insertions, 5 deletions
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: |