Skip to content

Commit a0fc4ea

Browse files
author
Drew Yang
committed
fix: 🐛 only run test on necessary file edits
1 parent 007652a commit a0fc4ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ on:
55
- "**" # every branch
66
- "!gh-pages" # exclude gh-pages branch
77
- "!stage*" # exclude branches beginning with stage
8+
paths:
9+
- "datajoint"
10+
- "tests"
11+
- ".pre-commit-config.yaml"
812
pull_request:
913
branches:
1014
- "**" # every branch
1115
- "!gh-pages" # exclude gh-pages branch
1216
- "!stage*" # exclude branches beginning with stage
17+
paths:
18+
- "datajoint"
19+
- "tests"
20+
- ".pre-commit-config.yaml"
1321
jobs:
1422
lint:
1523
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)