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 b8b91d1 commit 4f370ec
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/lint-mypy.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/lint-mypy.yml"]
paths: [
".github/workflows/lint-mypy.yml",
"src/**.py", "src/**/py.typed",
"tests/**.py",
]

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

workflow_dispatch:

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/lint-ruff.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/lint-ruff.yml"]
paths: [
".github/workflows/lint-ruff.yml",
"src/**.py",
"tests/**",
]

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

workflow_dispatch:

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/test-pytest.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/test-pytest.yml"]
paths: [
".github/workflows/test-pytest.yml",
"src/**.py",
"tests/**",
]

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

workflow_dispatch:

Expand Down

0 comments on commit 4f370ec

Please sign in to comment.