summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@edgedb.com>2021-08-03 11:28:54 -0700
committerElvis Pranskevichus <elvis@magic.io>2021-08-03 20:13:35 -0700
commit3f8cb24cf3da3af1b86ef61cefc091784d39ec08 (patch)
tree793e9dd1315161e32ab83a7304c0a5320da00449 /.github/workflows
parent1bcdd492f931be380986aafc83af2522a443402b (diff)
downloadimmutables-3f8cb24cf3da3af1b86ef61cefc091784d39ec08.tar.gz
immutables-3f8cb24cf3da3af1b86ef61cefc091784d39ec08.zip
tests: Test on Python 3.10
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/tests.yml24
1 files changed, 13 insertions, 11 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f3e1be7..8613b21 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -10,19 +10,12 @@ on:
- master
jobs:
- build:
+ tests:
runs-on: ${{ matrix.os }}
strategy:
- max-parallel: 4
matrix:
- python-version: [3.6, 3.7, 3.8, 3.9]
- os: [windows-latest, ubuntu-18.04, macos-latest]
- exclude:
- # Python 3.5 is unable to properly
- # find the recent VS tooling
- # https://bugs.python.org/issue30389
- - os: windows-latest
- python-version: 3.5
+ python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-beta.4]
+ os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
@@ -32,10 +25,10 @@ jobs:
- name: Check if release PR.
uses: edgedb/action-release/validate-pr@master
- continue-on-error: true
id: release
with:
github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
+ missing_version_ok: yes
version_file: immutables/_version.py
version_line_pattern: |
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
@@ -53,3 +46,12 @@ jobs:
flake8 immutables/ tests/
mypy immutables/
python -m pytest -v
+
+ # This job exists solely to act as the test job aggregate to be
+ # targeted by branch policies.
+ test-conclusion:
+ name: "Test Conclusion"
+ needs: [tests]
+ runs-on: ubuntu-latest
+ steps:
+ - run: echo OK