summaryrefslogtreecommitdiff
path: root/.github/workflows/style_and_docs.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/style_and_docs.yaml')
-rw-r--r--.github/workflows/style_and_docs.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/style_and_docs.yaml b/.github/workflows/style_and_docs.yaml
index 5abedab784..5a940da99e 100644
--- a/.github/workflows/style_and_docs.yaml
+++ b/.github/workflows/style_and_docs.yaml
@@ -22,10 +22,10 @@ jobs:
pip install --upgrade pip
pip install --upgrade vermin
- name: Minimum Version (Spack's Core)
- run: vermin --backport argparse -t=2.6- -t=3.5- -v lib/spack/spack/ lib/spack/llnl/ bin/
+ run: vermin --backport argparse --backport typing -t=2.6- -t=3.5- -v lib/spack/spack/ lib/spack/llnl/ bin/
- name: Minimum Version (Repositories)
- run: vermin --backport argparse -t=2.6- -t=3.5- -v var/spack/repos
- flake8:
+ run: vermin --backport argparse --backport typing -t=2.6- -t=3.5- -v var/spack/repos
+ style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -36,15 +36,15 @@ jobs:
python-version: 3.9
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools flake8
+ pip install --upgrade pip six setuptools flake8 mypy black
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
git --version
. .github/workflows/setup_git.sh
- - name: Run flake8 tests
+ - name: Run style tests
run: |
- share/spack/qa/run-flake8-tests
+ share/spack/qa/run-style-tests
documentation:
runs-on: ubuntu-latest
steps: