From cd36d94d39737f1ccca2b3ec5434cff134e61f30 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 14 Aug 2024 07:33:29 +0200 Subject: [PATCH 1/3] Run tests on Python 3.13 release candidate * https://www.python.org/download/pre-releases * https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#allow-pre-releases Blocked by: * python-greenlet/greenlet#396 --- .github/workflows/ci.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6721cb7..75a51ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,13 +25,14 @@ jobs: fail-fast: true matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install poetry run: | python -m pip install --upgrade pip @@ -43,7 +44,7 @@ jobs: run: | poetry run pytest --cov --cov-report=term --cov-report=json -v - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v4.0.1 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} slug: ozekik/plateaukit From df8e04a90adc54721a75fa15b59daeb8096c4676 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 16 Aug 2024 08:38:15 +0200 Subject: [PATCH 2/3] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 75a51ad..05c8d9b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,7 @@ jobs: needs: ["prepare"] runs-on: ${{ matrix.os }} strategy: - fail-fast: true + fail-fast: false matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] python-version: ["3.10", "3.11", "3.12", "3.13"] From e654d37bd5e9de95949dc633e239733b2aff62b8 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 16 Aug 2024 09:11:20 +0200 Subject: [PATCH 3/3] if: matrix.python-version == "3.13" run: poetry install numpy --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 05c8d9b..13a9c9c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,6 +37,8 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install poetry + - if: matrix.python-version == "3.13" + run: poetry install numpy - name: Install dependencies run: | poetry install --only main,test --no-interaction