summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-08-01 00:01:12 +0200
committerGitHub <noreply@github.com>2020-07-31 15:01:12 -0700
commit9dbad500bc66b9a7cae41e3c3a04ac112440dbb9 (patch)
tree9e39a2a8007a3bb1bdb274f9b287264a2111adca /.github/workflows
parent4aaa39d091c0490d7634dfb48cc52f42ce3a1397 (diff)
downloadspack-9dbad500bc66b9a7cae41e3c3a04ac112440dbb9.tar.gz
spack-9dbad500bc66b9a7cae41e3c3a04ac112440dbb9.tar.bz2
spack-9dbad500bc66b9a7cae41e3c3a04ac112440dbb9.tar.xz
spack-9dbad500bc66b9a7cae41e3c3a04ac112440dbb9.zip
Move Python 2.6 unit tests to Github Actions (#17279)
* Run Python2.6 unit tests on Github Actions * Skip url tests on Python 2.6 to reduce waiting times * Skip foreground background tests on Python 2.6 to reduce waiting times * Removed references to Travis in the documentation * Deleted install_patchelf.sh (can be installed from repo on CentOS 6)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux_unit_tests.yaml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/linux_unit_tests.yaml b/.github/workflows/linux_unit_tests.yaml
index f1def14b6f..cf5d8660c2 100644
--- a/.github/workflows/linux_unit_tests.yaml
+++ b/.github/workflows/linux_unit_tests.yaml
@@ -3,13 +3,12 @@ name: linux tests
on:
push:
branches:
- - master
- develop
- releases/**
pull_request:
branches:
- - master
- develop
+ - releases/**
jobs:
unittests:
runs-on: ubuntu-latest
@@ -99,3 +98,17 @@ jobs:
- uses: codecov/codecov-action@v1
with:
flags: shelltests,linux
+ centos6:
+ # Test for Python2.6 run on Centos 6
+ runs-on: ubuntu-latest
+ container: spack/github-actions:centos6
+ steps:
+ - name: Run unit tests
+ env:
+ HOME: /home/spack-test
+ run: |
+ whoami && echo $HOME && cd $HOME
+ git clone https://github.com/spack/spack.git && cd spack
+ git fetch origin ${{ github.ref }}:test-branch
+ git checkout test-branch
+ share/spack/qa/run-unit-tests