mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Only run trial CI on all python versions on non-PRs (#13698)
This commit is contained in:
parent
044900af6c
commit
0fdb685c2b
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -82,6 +82,16 @@ jobs:
|
|||||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
||||||
database: ["sqlite"]
|
database: ["sqlite"]
|
||||||
extras: ["all"]
|
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:
|
include:
|
||||||
# Newest Python without optional deps
|
# Newest Python without optional deps
|
||||||
- python-version: "3.10"
|
- python-version: "3.10"
|
||||||
|
1
changelog.d/13698.misc
Normal file
1
changelog.d/13698.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Only run trial CI on all python versions on non-PRs.
|
Loading…
Reference in New Issue
Block a user