Do not test if other schemes duplicate_consistency files changed

This commit is contained in:
Thom Wiggers 2020-10-12 09:51:33 +02:00
parent b36ca46dfc
commit 4215ad7661
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -1,18 +1,34 @@
on:
push:
paths:
# build if tests change
- '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/**'
# build if scheme changed
- 'crypto_{- scheme_type -}/{- scheme_name -}/**'
# build if workflow file changed
- '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml'
# Build if any files in the root change, except .md files
- '*'
- '!*.md'
pull_request:
paths:
# build if tests change
- '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/**'
# build if scheme changed
- 'crypto_{- scheme_type -}/{- scheme_name -}/**'
# build if workflow file changed
- '.github/workflows/{- scheme_type -}_{- scheme_name -}.yml'
# Build if any files in the root change, except .md files
- '*'
- '!*.md'
schedule: