From 9192f046d2393616df50963edc9c49d7f4ca62cb Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Mon, 30 Dec 2019 10:10:36 -0800 Subject: tests: rename checks in github actions I usually want to look at the Travis CI output, but I currently have to scroll down to see it. This renames checks to be a bit shorter and more consistent with Travis's naming, and also so that actions appear lower than travis and codecov in the list of checks. --- .github/workflows/build_tests_linux.yaml | 57 -------------------------- .github/workflows/linux_build_tests.yaml | 57 ++++++++++++++++++++++++++ .github/workflows/minimum_python_versions.yaml | 6 +-- 3 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 .github/workflows/build_tests_linux.yaml create mode 100644 .github/workflows/linux_build_tests.yaml (limited to '.github/workflows') diff --git a/.github/workflows/build_tests_linux.yaml b/.github/workflows/build_tests_linux.yaml deleted file mode 100644 index 15aaa19f06..0000000000 --- a/.github/workflows/build_tests_linux.yaml +++ /dev/null @@ -1,57 +0,0 @@ -name: Build Tests Linux - -on: - push: - branches: - - master - - develop - pull_request: - branches: - - master - - develop - paths-ignore: - # Don't run if we only modified packages in the built-in repository - - 'var/spack/repos/builtin/**' - - '!var/spack/repos/builtin/packages/lz4/**' - - '!var/spack/repos/builtin/packages/mpich/**' - - '!var/spack/repos/builtin/packages/tut/**' - - '!var/spack/repos/builtin/packages/py-setuptools/**' - - '!var/spack/repos/builtin/packages/openjpeg/**' - - '!var/spack/repos/builtin/packages/r-rcpp/**' - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - max-parallel: 4 - matrix: - package: [lz4, mpich, tut, py-setuptools, openjpeg, r-rcpp] - steps: - - uses: actions/checkout@v1 - - name: Cache ccache's store - uses: actions/cache@v1 - with: - path: ~/.ccache - key: ccache-build-${{ matrix.package }} - restore-keys: | - ccache-build-${{ matrix.package }} - - name: Setup Python - uses: actions/setup-python@v1 - with: - python-version: 3.8 - - name: Install System Packages - run: | - sudo apt-get -yqq install ccache gfortran perl perl-base r-base r-base-core r-base-dev findutils openssl libssl-dev libpciaccess-dev - R --version - perl --version - - name: Copy Configuration - run: | - ccache -M 300M && ccache -z - # Set up external deps for build tests, b/c they take too long to compile - cp share/spack/qa/configuration/*.yaml etc/spack/ - - name: Run the build test - run: | - . share/spack/setup-env.sh - SPEC=${{ matrix.package }} share/spack/qa/run-build-tests - ccache -s diff --git a/.github/workflows/linux_build_tests.yaml b/.github/workflows/linux_build_tests.yaml new file mode 100644 index 0000000000..27be6c3c18 --- /dev/null +++ b/.github/workflows/linux_build_tests.yaml @@ -0,0 +1,57 @@ +name: linux builds + +on: + push: + branches: + - master + - develop + pull_request: + branches: + - master + - develop + paths-ignore: + # Don't run if we only modified packages in the built-in repository + - 'var/spack/repos/builtin/**' + - '!var/spack/repos/builtin/packages/lz4/**' + - '!var/spack/repos/builtin/packages/mpich/**' + - '!var/spack/repos/builtin/packages/tut/**' + - '!var/spack/repos/builtin/packages/py-setuptools/**' + - '!var/spack/repos/builtin/packages/openjpeg/**' + - '!var/spack/repos/builtin/packages/r-rcpp/**' + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + package: [lz4, mpich, tut, py-setuptools, openjpeg, r-rcpp] + steps: + - uses: actions/checkout@v1 + - name: Cache ccache's store + uses: actions/cache@v1 + with: + path: ~/.ccache + key: ccache-build-${{ matrix.package }} + restore-keys: | + ccache-build-${{ matrix.package }} + - name: Setup Python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install System Packages + run: | + sudo apt-get -yqq install ccache gfortran perl perl-base r-base r-base-core r-base-dev findutils openssl libssl-dev libpciaccess-dev + R --version + perl --version + - name: Copy Configuration + run: | + ccache -M 300M && ccache -z + # Set up external deps for build tests, b/c they take too long to compile + cp share/spack/qa/configuration/*.yaml etc/spack/ + - name: Run the build test + run: | + . share/spack/setup-env.sh + SPEC=${{ matrix.package }} share/spack/qa/run-build-tests + ccache -s diff --git a/.github/workflows/minimum_python_versions.yaml b/.github/workflows/minimum_python_versions.yaml index f0a5736849..c55042ffa1 100644 --- a/.github/workflows/minimum_python_versions.yaml +++ b/.github/workflows/minimum_python_versions.yaml @@ -1,4 +1,4 @@ -name: Minimum Python Versions +name: python version check on: push: @@ -10,7 +10,7 @@ on: - master - develop jobs: - build: + validate: runs-on: ubuntu-latest @@ -19,7 +19,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v1 with: - python-version: 2.7 + python-version: 3.7 - name: Install Python Packages run: | pip install --upgrade pip -- cgit v1.2.3-60-g2f50