From f4f9d0709803ff8f5c8416dd4d64c8e33b751cb0 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Thu, 8 Aug 2024 09:25:57 -0700 Subject: [PATCH] Update CI workflow --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5272d05e..56f05660 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,17 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev", "pypy-3.8", "pypy-3.9", "pypy-3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "pypy-3.8", "pypy-3.9", "pypy-3.10"] os: [ubuntu-22.04, macOS-latest, windows-latest] + # Python 3.8 and 3.9 do not run on macOS-latest which + # is now using arm64 hardware. + # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760 + exclude: + - { python-version: "3.8", os: "macos-latest" } + - { python-version: "3.9", os: "macos-latest" } + include: + - { python-version: "3.8", os: "macos-13" } + - { python-version: "3.9", os: "macos-13" } steps: - uses: actions/checkout@v3 @@ -39,7 +48,7 @@ jobs: python -m pip install --requirement requirements.txt python -m pip install .[test] - name: Run tests - run: tox + run: python -m pytest tests - name: Store tested requirements.txt file as artifact uses: actions/upload-artifact@v3 with: