summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/unit_tests.yaml23
1 files changed, 13 insertions, 10 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index 1cc60f593a..6d5901edd1 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -39,7 +39,7 @@ jobs:
python-version: 3.9
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools flake8 mypy>=0.800 black types-six
+ pip install --upgrade pip six setuptools flake8 mypy>=0.800 black types-six types-python-dateutil
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
@@ -62,7 +62,7 @@ jobs:
sudo apt-get install -y coreutils ninja-build graphviz
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools
+ pip install --upgrade pip six setuptools python-dateutil
pip install --upgrade -r lib/spack/docs/requirements.txt
- name: Build documentation
run: |
@@ -129,14 +129,15 @@ jobs:
run: |
sudo apt-get -y update
# Needed for unit tests
- sudo apt-get install -y coreutils gfortran graphviz gnupg2 mercurial
- sudo apt-get install -y ninja-build patchelf
+ sudo apt-get -y install \
+ coreutils cvs gfortran graphviz gnupg2 mercurial ninja-build \
+ patchelf
# Needed for kcov
sudo apt-get -y install cmake binutils-dev libcurl4-openssl-dev
sudo apt-get -y install zlib1g-dev libdw-dev libiberty-dev
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools codecov coverage
+ pip install --upgrade pip python-dateutil six setuptools codecov coverage
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
@@ -200,7 +201,7 @@ jobs:
sudo apt-get -y install zlib1g-dev libdw-dev libiberty-dev
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools codecov coverage
+ pip install --upgrade pip six setuptools codecov coverage python-dateutil
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
@@ -286,7 +287,7 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
- spack unit-test -k 'not svn and not hg' -x --verbose
+ spack unit-test -k 'not cvs and not svn and not hg' -x --verbose
# Test for the clingo based solver (using clingo-cffi)
clingo-cffi:
needs: [ validate, style, documentation, changes ]
@@ -302,8 +303,9 @@ jobs:
run: |
sudo apt-get -y update
# Needed for unit tests
- sudo apt-get install -y coreutils gfortran graphviz gnupg2 mercurial
- sudo apt-get install -y ninja-build patchelf
+ sudo apt-get -y install \
+ coreutils cvs gfortran graphviz gnupg2 mercurial ninja-build \
+ patchelf
# Needed for kcov
sudo apt-get -y install cmake binutils-dev libcurl4-openssl-dev
sudo apt-get -y install zlib1g-dev libdw-dev libiberty-dev
@@ -320,7 +322,7 @@ jobs:
make -C ${KCOV_ROOT}/build && sudo make -C ${KCOV_ROOT}/build install
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools codecov coverage clingo
+ pip install --upgrade pip six setuptools codecov coverage clingo python-dateutil
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
@@ -365,6 +367,7 @@ jobs:
pip install --upgrade pip six setuptools
pip install --upgrade codecov coverage
pip install --upgrade flake8 pep8-naming mypy
+ pip install --upgrade python-dateutil
- name: Setup Homebrew packages
run: |
brew install dash fish gcc gnupg2 kcov