Fedir Zadniprovskyi commited on
Commit
7448df4
·
1 Parent(s): 0282242

ci: limit when GHA jobs run

Browse files
.github/workflows/lint.yaml CHANGED
@@ -4,7 +4,17 @@ on:
4
  push:
5
  branches:
6
  - master
 
 
 
 
 
7
  pull_request:
 
 
 
 
 
8
  jobs:
9
  ruff:
10
  runs-on: ubuntu-latest
 
4
  push:
5
  branches:
6
  - master
7
+ paths:
8
+ - "src/**"
9
+ - "scripts/**"
10
+ - "tests/**"
11
+ - ".github/workflows/lint.yaml"
12
  pull_request:
13
+ paths:
14
+ - "src/**"
15
+ - "scripts/**"
16
+ - "tests/**"
17
+ - ".github/workflows/lint.yaml"
18
  jobs:
19
  ruff:
20
  runs-on: ubuntu-latest
.github/workflows/test.yaml CHANGED
@@ -4,7 +4,15 @@ on:
4
  push:
5
  branches:
6
  - master
 
 
 
 
7
  pull_request:
 
 
 
 
8
  jobs:
9
  pytest:
10
  strategy:
 
4
  push:
5
  branches:
6
  - master
7
+ paths:
8
+ - "src/**"
9
+ - "tests/**"
10
+ - ".github/workflows/test.yaml"
11
  pull_request:
12
+ paths:
13
+ - "src/**"
14
+ - "tests/**"
15
+ - ".github/workflows/test.yaml"
16
  jobs:
17
  pytest:
18
  strategy: