From 2da43ed712073694cc13740d359943a293585bfc Mon Sep 17 00:00:00 2001 From: Fabian Keller Date: Thu, 9 Jan 2025 09:23:50 +0100 Subject: [PATCH 1/2] minor ci modernizations --- .github/workflows/ci.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa04453..3142287 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,10 +15,10 @@ jobs: tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install "black<23" flake8 mypy pytest pytest-cov + pip install black flake8 mypy pytest pytest-cov pip freeze - name: Install package @@ -57,7 +57,7 @@ jobs: ./scripts/test - name: Upload to codecov.io - if: matrix.python-version == '3.8' + if: matrix.python-version == '3.10' # https://github.com/codecov/codecov-action uses: codecov/codecov-action@v1 with: @@ -68,7 +68,7 @@ jobs: needs: tests - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: @@ -78,7 +78,7 @@ jobs: - name: Set up python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.10 - name: Install wheel run: pip install wheel @@ -110,5 +110,5 @@ jobs: with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - skip_existing: true + skip-existing: true From ea59aca73a06f12513b356cacb22ae3ab7b959f2 Mon Sep 17 00:00:00 2001 From: Fabian Keller Date: Thu, 9 Jan 2025 09:26:16 +0100 Subject: [PATCH 2/2] fix python version --- .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 3142287..e40b55e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,7 +78,7 @@ jobs: - name: Set up python uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: "3.10" - name: Install wheel run: pip install wheel