summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-03-20 15:17:47 +0100
committerGitHub <noreply@github.com>2021-03-20 07:17:47 -0700
commit06cd29ad5818dd493354f7f26f4c4005cd1d9f61 (patch)
tree8d845d0a1f28caa1a48bb8302f97bcf114fe315d /.github
parent03e10b3cde7767910c1f28f12c8b6078b61eaf96 (diff)
downloadspack-06cd29ad5818dd493354f7f26f4c4005cd1d9f61.tar.gz
spack-06cd29ad5818dd493354f7f26f4c4005cd1d9f61.tar.bz2
spack-06cd29ad5818dd493354f7f26f4c4005cd1d9f61.tar.xz
spack-06cd29ad5818dd493354f7f26f4c4005cd1d9f61.zip
QA: don't run build tests on each commit (#22430)
This applies the same rules on push to develop that we use for PRs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux_build_tests.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/linux_build_tests.yaml b/.github/workflows/linux_build_tests.yaml
index 6850ab097e..28e85f8852 100644
--- a/.github/workflows/linux_build_tests.yaml
+++ b/.github/workflows/linux_build_tests.yaml
@@ -5,6 +5,18 @@ on:
branches:
- develop
- releases/**
+ 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/**'
+ - '!var/spack/repos/builtin/packages/ruby-rake/**'
+ # Don't run if we only modified documentation
+ - 'lib/spack/docs/**'
pull_request:
branches:
- develop