Skip to content

Commit 5d62018

Browse files
committed
only test python when needed
1 parent 9592e45 commit 5d62018

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/lint-and-test-python.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
name: Lint and test python
55

6-
on: [push]
6+
on:
7+
push:
8+
paths:
9+
- 'src/**'
10+
- 'tests/**'
711

812
jobs:
913
build:
@@ -31,8 +35,3 @@ jobs:
3135
- name: Test with unittest
3236
run: |
3337
python3 -m unittest discover -s tests -v
34-
# - name: Commit & Push changes
35-
# uses: actions-js/push@master
36-
# with:
37-
# github_token: ${{ secrets.GITHUB_TOKEN }}
38-
# branch: ${{ github.ref }}

0 commit comments

Comments
 (0)