Maxime winglian commited on
Commit
5d931cc
1 Parent(s): ec0958f

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>

Files changed (1) hide show
  1. .github/workflows/tests.yml +4 -0
.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: