From c604df3bf2a44538a006bbf6414121a6aa0abbb9 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Tue, 23 Nov 2021 08:24:13 +0100 Subject: Configuring for c-code --- .github/workflows/tests.yml | 54 +++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 26 deletions(-) (limited to '.github') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ea9d246..7a18d35 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -95,22 +95,23 @@ jobs: fail-fast: false matrix: python-version: - - 2.7 - - 3.5 - - pypy-2.7 - - pypy-3.6 - - 3.6 - - 3.7 - - 3.8 - - 3.9 + - "2.7" + - "3.5" + - "pypy-2.7" + - "pypy-3.7" + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "3.10" os: [ubuntu-20.04, macos-latest] exclude: - os: macos-latest - python-version: pypy-2.7 + python-version: "pypy-2.7" - os: macos-latest - python-version: pypy-3.6 + python-version: "pypy-3.7" - os: macos-latest - python-version: 3.5 + python-version: "3.5" steps: - name: checkout @@ -168,7 +169,7 @@ jobs: # We cannot 'uses: pypa/gh-action-pypi-publish@v1.4.1' because # that's apparently a container action, and those don't run on # the Mac. - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(runner.os, 'Mac') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(runner.os, 'Mac') && !startsWith(matrix.python-version, 'pypy') env: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} run: | @@ -181,22 +182,23 @@ jobs: fail-fast: false matrix: python-version: - - 2.7 - - 3.5 - - pypy-2.7 - - pypy-3.6 - - 3.6 - - 3.7 - - 3.8 - - 3.9 + - "2.7" + - "3.5" + - "pypy-2.7" + - "pypy-3.7" + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "3.10" os: [ubuntu-20.04, macos-latest] exclude: - os: macos-latest - python-version: pypy-2.7 + python-version: "pypy-2.7" - os: macos-latest - python-version: pypy-3.6 + python-version: "pypy-3.7" - os: macos-latest - python-version: 3.5 + python-version: "3.5" steps: - name: checkout @@ -272,7 +274,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.9] + python-version: ["3.9"] os: [ubuntu-20.04] steps: @@ -323,7 +325,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.9] + python-version: ["3.9"] os: [ubuntu-20.04] steps: @@ -375,7 +377,7 @@ jobs: # We use a regular Python matrix entry to share as much code as possible. strategy: matrix: - python-version: [3.9] + python-version: ["3.9"] image: [manylinux2010_x86_64, manylinux2010_i686, manylinux2014_aarch64] steps: -- cgit v1.2.1