Only run trial CI on all python versions on non-PRs (#13698)

This commit is contained in:
Erik Johnston authored and GitHub committed 2022-09-02 13:12:47 +01:00
1 parent 044900af6c
commit 0fdb685c2b
2 files changed
+11

No files matched your search

+10
View File
@@ -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"