Only run tests when source files change.

Also run tests on changes to V_9_0 branch.
This commit is contained in:
Darren Tucker 2022-04-29 18:27:34 +10:00
parent 2ea0157c66
commit 660337a811
3 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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:

View File

@ -3,6 +3,7 @@ name: Upstream self-hosted
on:
push:
branches: [ master, ci ]
paths: [ '**.c', '**.h' ]
jobs:
selfhosted: