mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 15:39:07 +00:00
Do not test if other schemes duplicate_consistency files changed
This commit is contained in:
parent
4793d260eb
commit
a7bff5a7b5
16
.github/workflows/template.yml.j2
vendored
16
.github/workflows/template.yml.j2
vendored
@ -1,18 +1,34 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
|
# build if tests change
|
||||||
- 'test/**'
|
- 'test/**'
|
||||||
|
# do not build if other schemes duplicate_consistency files change
|
||||||
|
- '!test/duplicate_consistency/*.yml'
|
||||||
|
- 'test/duplicate_consistency/{- scheme_name -}*.yml'
|
||||||
|
# build if common files change
|
||||||
- 'common/**'
|
- 'common/**'
|
||||||
|
# build if scheme changed
|
||||||
- 'crypto_{- scheme_type -}/{- scheme_name -}/**'
|
- 'crypto_{- scheme_type -}/{- scheme_name -}/**'
|
||||||
|
# build if workflow file changed
|
||||||
- '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml'
|
- '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml'
|
||||||
|
# Build if any files in the root change, except .md files
|
||||||
- '*'
|
- '*'
|
||||||
- '!*.md'
|
- '!*.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
|
# build if tests change
|
||||||
- 'test/**'
|
- 'test/**'
|
||||||
|
# do not build if other schemes duplicate_consistency files change
|
||||||
|
- '!test/duplicate_consistency/*.yml'
|
||||||
|
- 'test/duplicate_consistency/{- scheme_name -}*.yml'
|
||||||
|
# build if common files change
|
||||||
- 'common/**'
|
- 'common/**'
|
||||||
|
# build if scheme changed
|
||||||
- 'crypto_{- scheme_type -}/{- scheme_name -}/**'
|
- 'crypto_{- scheme_type -}/{- scheme_name -}/**'
|
||||||
|
# build if workflow file changed
|
||||||
- '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml'
|
- '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml'
|
||||||
|
# Build if any files in the root change, except .md files
|
||||||
- '*'
|
- '*'
|
||||||
- '!*.md'
|
- '!*.md'
|
||||||
schedule:
|
schedule:
|
||||||
|
Loading…
Reference in New Issue
Block a user