Skip to content

Commit

Permalink
workflow tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Jun 24, 2024
1 parent 031f49c commit 1cba147
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ name: Linting via ruff (check)
on:
push:
branches: [ "master", "stable" ]
paths: ["src/**.py", "tests/**", ".github/workflows/check-lint.yml"]
paths: [
".github/workflows/check-lint.yml",
"src/**.py",
"tests/**",
]

pull_request:
branches: [ "master", "stable" ]
paths: ["src/**.py", "tests/**", ".github/workflows/check-lint.yml"]
paths: [
".github/workflows/check-lint.yml",
"src/**.py",
"tests/**",
]

workflow_dispatch:

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/check-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ name: Testing via pytest
on:
push:
branches: [ "master", "stable" ]
paths: ["src/**.py", "tests/**", ".github/workflows/check-test.yml"]
paths: [
".github/workflows/check-test.yml",
"src/**.py",
"tests/**",
]

pull_request:
branches: [ "master", "stable" ]
paths: ["src/**.py", "tests/**", ".github/workflows/check-test.yml"]
paths: [
".github/workflows/check-test.yml",
"src/**.py",
"tests/**",
]

workflow_dispatch:

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/check-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ name: Typing via mypy
on:
push:
branches: [ "master", "stable" ]
paths: ["src/**.py", "tests/**.py", "src/**/py.typed", ".github/workflows/type-type.yml"]
paths: [
".github/workflows/type-type.yml",
"src/**.py", "src/**/py.typed",
"tests/**.py",
]

pull_request:
branches: [ "master", "stable" ]
paths: ["src/**.py", "tests/**.py", "src/**/py.typed", ".github/workflows/type-type.yml"]
paths: [
".github/workflows/type-type.yml",
"src/**.py", "src/**/py.typed",
"tests/**.py",
]

workflow_dispatch:

Expand Down

0 comments on commit 1cba147

Please sign in to comment.