mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
Fix test workflow syntax to use negation properly
This commit is contained in:
parent
ff6f9131ae
commit
4905378a0f
14
.github/test-filters.yml
vendored
14
.github/test-filters.yml
vendored
@ -1,7 +1,8 @@
|
|||||||
all:
|
all:
|
||||||
- "src/**"
|
# Negations syntax from https://github.com/dorny/paths-filter/issues/184#issuecomment-2786521554
|
||||||
- "test/**"
|
- "src/**/!(*.{md,py,sh,gitkeep,gitignore})"
|
||||||
- "public/**"
|
- "test/**/!(*.md,*.py,*.sh,*.gitkeep,*.gitignore)"
|
||||||
|
- "public/**/!(*.{md,py,sh,gitkeep,gitignore})"
|
||||||
# Workflows that can impact tests
|
# Workflows that can impact tests
|
||||||
- ".github/workflows/test*.yml"
|
- ".github/workflows/test*.yml"
|
||||||
- ".github/test-filters.yml"
|
- ".github/test-filters.yml"
|
||||||
@ -11,9 +12,4 @@ all:
|
|||||||
- "vite*" # vite.config.ts, vite.vitest.config.ts, vitest.workspace.ts
|
- "vite*" # vite.config.ts, vite.vitest.config.ts, vitest.workspace.ts
|
||||||
- "tsconfig*.json" # tsconfig.json tweaking can impact compilation
|
- "tsconfig*.json" # tsconfig.json tweaking can impact compilation
|
||||||
- "global.d.ts"
|
- "global.d.ts"
|
||||||
- ".env*"
|
- ".env*"
|
||||||
# Blanket negations for files that cannot impact tests
|
|
||||||
- "!**/*.py" # No .py files
|
|
||||||
- "!**/*.sh" # No .sh files
|
|
||||||
- "!**/*.md" # No .md files
|
|
||||||
- "!**/.git*" # .gitkeep and family
|
|
Loading…
Reference in New Issue
Block a user