summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-07-29 10:18:20 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2020-08-13 00:33:31 -0700
commitc00773521eb4c779185ba34019bd9239cc3fd73a (patch)
tree5f5c0b753bd4d1d8b65a5fada6cf23ee13fc257b
parenta4b023963543ced61dbde13bc6da3a21f9158428 (diff)
downloadspack-c00773521eb4c779185ba34019bd9239cc3fd73a.tar.gz
spack-c00773521eb4c779185ba34019bd9239cc3fd73a.tar.bz2
spack-c00773521eb4c779185ba34019bd9239cc3fd73a.tar.xz
spack-c00773521eb4c779185ba34019bd9239cc3fd73a.zip
Simplified YAML files for Github Actions workflows
Updated actions where needed
-rw-r--r--.github/workflows/linux_build_tests.yaml8
-rw-r--r--.github/workflows/linux_unit_tests.yaml9
-rw-r--r--.github/workflows/macos_unit_tests.yaml3
-rw-r--r--.github/workflows/style_and_docs.yaml5
4 files changed, 7 insertions, 18 deletions
diff --git a/.github/workflows/linux_build_tests.yaml b/.github/workflows/linux_build_tests.yaml
index 3f5c575df3..d09c942966 100644
--- a/.github/workflows/linux_build_tests.yaml
+++ b/.github/workflows/linux_build_tests.yaml
@@ -23,23 +23,19 @@ on:
jobs:
build:
-
runs-on: ubuntu-latest
strategy:
- max-parallel: 4
matrix:
package: [lz4, mpich, tut, py-setuptools, openjpeg, r-rcpp]
steps:
- uses: actions/checkout@v2
- - name: Cache ccache's store
- uses: actions/cache@v1
+ - uses: actions/cache@v2
with:
path: ~/.ccache
key: ccache-build-${{ matrix.package }}
restore-keys: |
ccache-build-${{ matrix.package }}
- - name: Setup Python
- uses: actions/setup-python@v1
+ - uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install System Packages
diff --git a/.github/workflows/linux_unit_tests.yaml b/.github/workflows/linux_unit_tests.yaml
index 2166871f24..454b859151 100644
--- a/.github/workflows/linux_unit_tests.yaml
+++ b/.github/workflows/linux_unit_tests.yaml
@@ -19,8 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Setup Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
+ - uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install System packages
@@ -56,8 +55,7 @@ jobs:
share/spack/qa/run-unit-tests
coverage combine
coverage xml
- - name: Upload to codecov.io
- uses: codecov/codecov-action@v1
+ - uses: codecov/codecov-action@v1
with:
flags: unittests,linux
shell:
@@ -98,7 +96,6 @@ jobs:
COVERAGE: true
run: |
share/spack/qa/run-shell-tests
- - name: Upload to codecov.io
- uses: codecov/codecov-action@v1
+ - uses: codecov/codecov-action@v1
with:
flags: shelltests,linux
diff --git a/.github/workflows/macos_unit_tests.yaml b/.github/workflows/macos_unit_tests.yaml
index ba275b711d..9a7c12ae5d 100644
--- a/.github/workflows/macos_unit_tests.yaml
+++ b/.github/workflows/macos_unit_tests.yaml
@@ -35,8 +35,7 @@ jobs:
coverage run $(which spack) test
coverage combine
coverage xml
- - name: Upload to codecov.io
- uses: codecov/codecov-action@v1
+ - uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: unittests,macos
diff --git a/.github/workflows/style_and_docs.yaml b/.github/workflows/style_and_docs.yaml
index 8bb6d2162a..9fee85b163 100644
--- a/.github/workflows/style_and_docs.yaml
+++ b/.github/workflows/style_and_docs.yaml
@@ -11,13 +11,10 @@ on:
- releases/**
jobs:
validate:
-
runs-on: ubuntu-latest
-
steps:
- uses: actions/checkout@v2
- - name: Setup Python
- uses: actions/setup-python@v1
+ - uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install Python Packages