summaryrefslogtreecommitdiff
path: root/.github/workflows/linux_unit_tests.yaml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-07-28 15:31:22 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2020-08-13 00:33:31 -0700
commita4b023963543ced61dbde13bc6da3a21f9158428 (patch)
treec28639480a39e75da7ebcc9ca1470e9e9a9b417d /.github/workflows/linux_unit_tests.yaml
parent303882834ac1ace64fcad9cebf7d0ffc228d76a9 (diff)
downloadspack-a4b023963543ced61dbde13bc6da3a21f9158428.tar.gz
spack-a4b023963543ced61dbde13bc6da3a21f9158428.tar.bz2
spack-a4b023963543ced61dbde13bc6da3a21f9158428.tar.xz
spack-a4b023963543ced61dbde13bc6da3a21f9158428.zip
Group tests with similar duration together
Style and documentation tests take just a few minutes to run. Since in Github actions one can't restart a single job but needs to restart an entire workflow, here we group tests with similar duration together.
Diffstat (limited to '.github/workflows/linux_unit_tests.yaml')
-rw-r--r--.github/workflows/linux_unit_tests.yaml38
1 files changed, 0 insertions, 38 deletions
diff --git a/.github/workflows/linux_unit_tests.yaml b/.github/workflows/linux_unit_tests.yaml
index 78fd0e8ce0..2166871f24 100644
--- a/.github/workflows/linux_unit_tests.yaml
+++ b/.github/workflows/linux_unit_tests.yaml
@@ -60,26 +60,6 @@ jobs:
uses: codecov/codecov-action@v1
with:
flags: unittests,linux
- flake8:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: 3.8
- - name: Install Python packages
- run: |
- pip install --upgrade pip six setuptools flake8
- - name: Setup git configuration
- run: |
- # Need this for the git tests to succeed.
- git --version
- git config --global user.email "spack@example.com"
- git config --global user.name "Test User"
- git fetch -u origin develop:develop
- - name: Run flake8 tests
- run: |
- share/spack/qa/run-flake8-tests
shell:
runs-on: ubuntu-latest
steps:
@@ -122,21 +102,3 @@ jobs:
uses: codecov/codecov-action@v1
with:
flags: shelltests,linux
- documentation:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: 3.8
- - name: Install System packages
- run: |
- sudo apt-get -y update
- sudo apt-get install -y coreutils ninja-build graphviz
- - name: Install Python packages
- run: |
- pip install --upgrade pip six setuptools
- pip install --upgrade -r lib/spack/docs/requirements.txt
- - name: Build documentation
- run: |
- share/spack/qa/run-doc-tests