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

Commit

Permalink
Only run trial CI on all python versions on non-PRs (#13698)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Sep 2, 2022
1 parent 044900a commit 0fdb685
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10"]
database: ["sqlite"]
extras: ["all"]
is_pr:
- ${{ startsWith(github.ref, 'refs/pull/') }}

# If we're a PR then we only test min and max python.
exclude:
- is_pr: true
python-version: 3.8
- is_pr: true
python-version: 3.9

include:
# Newest Python without optional deps
- python-version: "3.10"
Expand Down
1 change: 1 addition & 0 deletions changelog.d/13698.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Only run trial CI on all python versions on non-PRs.

0 comments on commit 0fdb685

Please sign in to comment.