diff options
author | Elvis Pranskevichus <elvis@edgedb.com> | 2021-08-03 11:28:54 -0700 |
---|---|---|
committer | Elvis Pranskevichus <elvis@magic.io> | 2021-08-03 20:13:35 -0700 |
commit | 3f8cb24cf3da3af1b86ef61cefc091784d39ec08 (patch) | |
tree | 793e9dd1315161e32ab83a7304c0a5320da00449 /.github | |
parent | 1bcdd492f931be380986aafc83af2522a443402b (diff) | |
download | immutables-3f8cb24cf3da3af1b86ef61cefc091784d39ec08.tar.gz immutables-3f8cb24cf3da3af1b86ef61cefc091784d39ec08.zip |
tests: Test on Python 3.10
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 24 |
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 |