From b42fdedb31389f3f426e86e702ea51d6fb86333d Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Sat, 17 May 2025 14:22:42 +0100 Subject: [PATCH 1/4] Update CI to use upload-artifact and download-artifact v4 See https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4be9098a..138a77b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,9 +36,9 @@ jobs: - name: Test with tox run: python -m tox - name: Store partial coverage reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: coverage + name: coverage-${{ matrix.runs-on }} path: .coverage.* coveralls: @@ -54,9 +54,10 @@ jobs: - name: Install coverage package run: python -m pip install -U coverage - name: Download partial coverage reports - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: - name: coverage + pattern: coverage-* + merge-multiple: true - name: Combine coverage run: python -m coverage combine - name: Report coverage From e109db3aa7f63d3723e128fb290430ab842fa03b Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Sat, 17 May 2025 14:31:59 +0100 Subject: [PATCH 2/4] Bump actions/setup-python to v5 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 138a77b3..96424d35 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Update pip From dabf20fab4837935eac150edb11f09128ec249cb Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Sat, 17 May 2025 14:37:57 +0100 Subject: [PATCH 3/4] Use an older version of the Ubuntu Github runner --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96424d35..781019f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 10 strategy: fail-fast: false From 16468e158239ccff550eb9f6156c39a6b8366ac3 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Sat, 17 May 2025 14:45:45 +0100 Subject: [PATCH 4/4] Update list of python versions to those available on the ubuntu-22.04 runner --- .github/workflows/test.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 781019f1..67139c5a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,13 +12,12 @@ jobs: fail-fast: false matrix: python-version: - - 2.7 - - 3.5 - - 3.6 - - 3.7 - - 3.8 - - 3.9 + - '3.8' + - '3.9' - '3.10' + - '3.11' + - '3.12' + - '3.13' - pypy-2.7 - pypy-3.6 - pypy-3.7