From fc5243bc14071dbf65c92202a5239d66c35abcb2 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 30 Jun 2023 11:01:09 +0100 Subject: [PATCH] Run tests on more pypy versions in CI (#259) --- .github/workflows/ci.yml | 15 ++++++++++++++- .github/workflows/third_party.yml | 7 ++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af020c03..32d12981 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,20 @@ jobs: # Python version, because typing sometimes changed between bugfix releases. # For available versions, see: # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json - python-version: ["3.7", "3.7.1", "3.8", "3.8.0", "3.9", "3.9.0", "3.10", "3.10.0", "3.11", "3.11.0", "3.12", "pypy3.9"] + python-version: + - "3.7" + - "3.7.1" + - "3.8" + - "3.8.0" + - "3.9" + - "3.9.0" + - "3.10" + - "3.10.0" + - "3.11" + - "3.11.0" + - "3.12" + - "pypy3.9" + - "pypy3.10" runs-on: ubuntu-20.04 diff --git a/.github/workflows/third_party.yml b/.github/workflows/third_party.yml index 5648a9ba..c80375a4 100644 --- a/.github/workflows/third_party.yml +++ b/.github/workflows/third_party.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.9"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -167,7 +167,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -184,6 +184,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install typeguard test requirements run: pip install -e ./typeguard[test] - name: Install typing_extensions latest @@ -307,7 +308,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.9"] runs-on: ubuntu-latest timeout-minutes: 60 steps: