Only run tests when a change to python files is made (#614)
Browse files* Update tests.yml
* Update .github/workflows/tests.yml
---------
Co-authored-by: Wing Lian <wing.lian@gmail.com>
.github/workflows/tests.yml
CHANGED
@@ -4,7 +4,11 @@ on:
|
|
4 |
push:
|
5 |
branches:
|
6 |
- "main"
|
|
|
|
|
7 |
pull_request:
|
|
|
|
|
8 |
workflow_dispatch:
|
9 |
|
10 |
jobs:
|
|
|
4 |
push:
|
5 |
branches:
|
6 |
- "main"
|
7 |
+
paths:
|
8 |
+
- '**.py'
|
9 |
pull_request:
|
10 |
+
paths:
|
11 |
+
- '**.py'
|
12 |
workflow_dispatch:
|
13 |
|
14 |
jobs:
|