Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 0fdb685

Browse files
authored
Only run trial CI on all python versions on non-PRs (#13698)
1 parent 044900a commit 0fdb685

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ jobs:
8282
python-version: ["3.7", "3.8", "3.9", "3.10"]
8383
database: ["sqlite"]
8484
extras: ["all"]
85+
is_pr:
86+
- ${{ startsWith(github.ref, 'refs/pull/') }}
87+
88+
# If we're a PR then we only test min and max python.
89+
exclude:
90+
- is_pr: true
91+
python-version: 3.8
92+
- is_pr: true
93+
python-version: 3.9
94+
8595
include:
8696
# Newest Python without optional deps
8797
- python-version: "3.10"

changelog.d/13698.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Only run trial CI on all python versions on non-PRs.

0 commit comments

Comments
 (0)