Skip to content

Commit 849a64d

Browse files
Refine trigger filter for both PRs and pushes
Previously only one of the trigger conditions had the filter. This is a follow-up to #5364.
1 parent 8b063f9 commit 849a64d

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

.github/workflows/arviz_compat.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ name: arviz-compatibility
22

33
on:
44
pull_request:
5+
paths:
6+
- ".github/workflows/*.yml"
7+
- "pymc/**.py"
8+
- "*.py"
9+
- "conda-envs/**"
10+
- "codecov.yml"
11+
- "scripts/*.sh"
512
push:
613
branches: [main]
714
paths:
8-
- ".github/workflows/*"
9-
- "pymc/**"
10-
- "setup.py"
11-
- "pyproject.toml"
12-
- "buildosx"
15+
- ".github/workflows/*.yml"
16+
- "pymc/**.py"
17+
- "*.py"
1318
- "conda-envs/**"
1419
- "codecov.yml"
20+
- "scripts/*.sh"
1521

1622
jobs:
1723
pytest:

.github/workflows/jaxtests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ name: jax-sampling
22

33
on:
44
pull_request:
5+
paths:
6+
- ".github/workflows/*.yml"
7+
- "pymc/**.py"
8+
- "*.py"
9+
- "conda-envs/**"
10+
- "codecov.yml"
11+
- "scripts/*.sh"
512
push:
613
branches: [main]
714
paths:
8-
- ".github/workflows/*"
9-
- "pymc/**"
10-
- "setup.py"
11-
- "pyproject.toml"
12-
- "buildosx"
15+
- ".github/workflows/*.yml"
16+
- "pymc/**.py"
17+
- "*.py"
1318
- "conda-envs/**"
1419
- "codecov.yml"
20+
- "scripts/*.sh"
1521

1622
jobs:
1723
pytest:

.github/workflows/pytest.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ name: pytest
22

33
on:
44
pull_request:
5+
paths:
6+
- ".github/workflows/*.yml"
7+
- "pymc/**.py"
8+
- "*.py"
9+
- "conda-envs/**"
10+
- "codecov.yml"
11+
- "scripts/*.sh"
512
push:
613
branches: [main]
714
paths:
8-
- ".github/workflows/*"
9-
- "pymc/**"
10-
- "setup.py"
11-
- "pyproject.toml"
12-
- "buildosx"
15+
- ".github/workflows/*.yml"
16+
- "pymc/**.py"
17+
- "*.py"
1318
- "conda-envs/**"
1419
- "codecov.yml"
20+
- "scripts/*.sh"
1521

1622

1723
# Tests are split into multiple jobs to accelerate the CI.

0 commit comments

Comments
 (0)