Skip to content

Commit

Permalink
ci: limit when GHA jobs run
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi authored and fedirz committed Oct 12, 2024
1 parent 99d0641 commit a92fa4e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ on:
push:
branches:
- master
paths:
- "src/**"
- "scripts/**"
- "tests/**"
- ".github/workflows/lint.yaml"
pull_request:
paths:
- "src/**"
- "scripts/**"
- "tests/**"
- ".github/workflows/lint.yaml"
jobs:
ruff:
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ on:
push:
branches:
- master
paths:
- "src/**"
- "tests/**"
- ".github/workflows/test.yaml"
pull_request:
paths:
- "src/**"
- "tests/**"
- ".github/workflows/test.yaml"
jobs:
pytest:
strategy:
Expand Down

0 comments on commit a92fa4e

Please sign in to comment.