From 3f8cb24cf3da3af1b86ef61cefc091784d39ec08 Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Tue, 3 Aug 2021 11:28:54 -0700 Subject: tests: Test on Python 3.10 --- .github/workflows/tests.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3