Skip to content

Commit 9b51872

Browse files
authored
Merge pull request #137 from mathworks/ci-path-filters
Run test workflow only when code-related files change
2 parents e571429 + 0131503 commit 9b51872

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/test_setup.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
name: Run Tests
22

3-
on:
3+
on:
44
push:
5+
paths:
6+
- '**.m'
7+
- 'PythonModule/**'
8+
- 'test/**'
9+
- '.github/workflows/test_setup.yml'
510
pull_request:
611
branches: [main]
12+
paths:
13+
- '**.m'
14+
- 'PythonModule/**'
15+
- 'test/**'
16+
- '.github/workflows/test_setup.yml'
717

818
jobs:
919
test:

0 commit comments

Comments
 (0)