summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-04-29 18:27:34 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-04-29 18:40:32 +1000
commit660337a811e8caecf042d5f06fbbef5f5ff2525e (patch)
treeb1682f76d0fd0a3dd1ea9e8afb78bce2817cf68e
parent2ea0157c6614a70f86c34e2526abaf2d498920f5 (diff)
Only run tests when source files change.V_9_0
Also run tests on changes to V_9_0 branch.
-rw-r--r--.github/workflows/c-cpp.yml4
-rw-r--r--.github/workflows/selfhosted.yml3
-rw-r--r--.github/workflows/upstream.yml1
3 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index b778c980..90152d63 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -2,9 +2,11 @@ name: C/C++ CI
on:
push:
- branches: [ master, ci ]
+ branches: [ master, ci, V_9_0 ]
+ paths: [ '**.c', '**.h', '**.m4', '**.sh', '**.yml', 'Makefile.in', 'configure.ac' ]
pull_request:
branches: [ master ]
+ paths: [ '**.c', '**.h', '**.m4', '**.sh', '**.yml', 'Makefile.in', 'configure.ac' ]
jobs:
ci:
diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml
index ec2c2982..490dbd62 100644
--- a/.github/workflows/selfhosted.yml
+++ b/.github/workflows/selfhosted.yml
@@ -2,7 +2,8 @@ name: C/C++ CI self-hosted
on:
push:
- branches: [ master, ci ]
+ branches: [ master, ci, V_9_0 ]
+ paths: [ '**.c', '**.h', '**.m4', '**.sh', '**.yml', 'Makefile.in', 'configure.ac' ]
jobs:
selfhosted:
diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml
index b91083c6..ba0ef827 100644
--- a/.github/workflows/upstream.yml
+++ b/.github/workflows/upstream.yml
@@ -3,6 +3,7 @@ name: Upstream self-hosted
on:
push:
branches: [ master, ci ]
+ paths: [ '**.c', '**.h' ]
jobs:
selfhosted: