Skip to content

Commit 3f8cb24

Browse files
committed
tests: Test on Python 3.10
1 parent 1bcdd49 commit 3f8cb24

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,12 @@ on:
1010
- master
1111

1212
jobs:
13-
build:
13+
tests:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
16-
max-parallel: 4
1716
matrix:
18-
python-version: [3.6, 3.7, 3.8, 3.9]
19-
os: [windows-latest, ubuntu-18.04, macos-latest]
20-
exclude:
21-
# Python 3.5 is unable to properly
22-
# find the recent VS tooling
23-
# https://bugs.python.org/issue30389
24-
- os: windows-latest
25-
python-version: 3.5
17+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-beta.4]
18+
os: [windows-latest, ubuntu-latest, macos-latest]
2619

2720
steps:
2821
- uses: actions/checkout@v2
@@ -32,10 +25,10 @@ jobs:
3225

3326
- name: Check if release PR.
3427
uses: edgedb/action-release/validate-pr@master
35-
continue-on-error: true
3628
id: release
3729
with:
3830
github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
31+
missing_version_ok: yes
3932
version_file: immutables/_version.py
4033
version_line_pattern: |
4134
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
@@ -53,3 +46,12 @@ jobs:
5346
flake8 immutables/ tests/
5447
mypy immutables/
5548
python -m pytest -v
49+
50+
# This job exists solely to act as the test job aggregate to be
51+
# targeted by branch policies.
52+
test-conclusion:
53+
name: "Test Conclusion"
54+
needs: [tests]
55+
runs-on: ubuntu-latest
56+
steps:
57+
- run: echo OK

0 commit comments

Comments
 (0)