From 163f567e8195ad8a26905ce25e338a4ef83d444f Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Thu, 17 Oct 2024 10:03:22 +0200 Subject: [PATCH 1/5] [.github] Bump actions versions --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/test-build-optional.yml | 4 ++-- .github/workflows/test-build-required.yml | 4 ++-- .github/workflows/test-unit-optional.yml | 4 ++-- .github/workflows/test-unit-required.yml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a83e6880..0ff3f76b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: sudo apt-get update sudo apt-get -y install make python3 python3-sphinx python3-sphinx-rtd-theme - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Information @@ -30,7 +30,7 @@ jobs: make docs - name: Archive docs if: github.ref == 'refs/heads/main' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: | docs/dist diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index eb8be2e3..60640d08 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: sudo apt-get update sudo apt-get -y install python3 pycodestyle shellcheck - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Information diff --git a/.github/workflows/test-build-optional.yml b/.github/workflows/test-build-optional.yml index e3f1d55a..01215f4d 100644 --- a/.github/workflows/test-build-optional.yml +++ b/.github/workflows/test-build-optional.yml @@ -28,12 +28,12 @@ jobs: runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Information diff --git a/.github/workflows/test-build-required.yml b/.github/workflows/test-build-required.yml index 37f417c4..513efdc6 100644 --- a/.github/workflows/test-build-required.yml +++ b/.github/workflows/test-build-required.yml @@ -17,12 +17,12 @@ jobs: runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: allow-prereleases: true python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/test-unit-optional.yml b/.github/workflows/test-unit-optional.yml index 3dc9865e..71d7611e 100644 --- a/.github/workflows/test-unit-optional.yml +++ b/.github/workflows/test-unit-optional.yml @@ -27,12 +27,12 @@ jobs: runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Information diff --git a/.github/workflows/test-unit-required.yml b/.github/workflows/test-unit-required.yml index c9360a97..2b5517c2 100644 --- a/.github/workflows/test-unit-required.yml +++ b/.github/workflows/test-unit-required.yml @@ -17,12 +17,12 @@ jobs: runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: allow-prereleases: true python-version: ${{ matrix.python-version }} From 60874d5c5e6b152c3224316707c9000a486a6b00 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Thu, 17 Oct 2024 10:04:04 +0200 Subject: [PATCH 2/5] [.github] Add Python 3.13 to CI --- .github/workflows/test-build-required.yml | 2 +- .github/workflows/test-unit-required.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-build-required.yml b/.github/workflows/test-build-required.yml index 513efdc6..382181c0 100644 --- a/.github/workflows/test-build-required.yml +++ b/.github/workflows/test-build-required.yml @@ -13,7 +13,7 @@ jobs: os: - ubuntu - macos - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code diff --git a/.github/workflows/test-unit-required.yml b/.github/workflows/test-unit-required.yml index 2b5517c2..746c10de 100644 --- a/.github/workflows/test-unit-required.yml +++ b/.github/workflows/test-unit-required.yml @@ -13,7 +13,7 @@ jobs: os: - ubuntu - macos - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code From 9c1bca45844152a5883f34a7b0dbbaf6d7fb14b9 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Thu, 17 Oct 2024 10:11:12 +0200 Subject: [PATCH 3/5] [.github] Exclude macOS Python 3.7 from required tests macos-latest runs on arm64 for which GitHub does not have Python 3.7. --- .github/workflows/test-build-required.yml | 2 ++ .github/workflows/test-unit-required.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test-build-required.yml b/.github/workflows/test-build-required.yml index 382181c0..cc17dde1 100644 --- a/.github/workflows/test-build-required.yml +++ b/.github/workflows/test-build-required.yml @@ -14,6 +14,8 @@ jobs: - ubuntu - macos python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + exclude: + - {os: "macos", python-version: "3.7"} runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code diff --git a/.github/workflows/test-unit-required.yml b/.github/workflows/test-unit-required.yml index 746c10de..949a3673 100644 --- a/.github/workflows/test-unit-required.yml +++ b/.github/workflows/test-unit-required.yml @@ -14,6 +14,8 @@ jobs: - ubuntu - macos python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + exclude: + - {os: "macos", python-version: "3.7"} runs-on: ${{ matrix.os }}-latest steps: - name: Check out repository code From f25535d307753b4be7a99411422f92facc6bf7f2 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Thu, 17 Oct 2024 10:12:16 +0200 Subject: [PATCH 4/5] [.github] Add GraalVM to optional tests --- .github/workflows/test-build-optional.yml | 3 +++ .github/workflows/test-unit-optional.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test-build-optional.yml b/.github/workflows/test-build-optional.yml index 01215f4d..5c385d65 100644 --- a/.github/workflows/test-build-optional.yml +++ b/.github/workflows/test-build-optional.yml @@ -19,6 +19,9 @@ jobs: - pypy-3.8 - pypy-3.9 - pypy-3.10 + - graalpy-22.3.1 + - graalpy-23.1.2 + - graalpy-24.1.1 include: - {os: "macos", python-version: "3.5"} - {os: "macos", python-version: "3.6"} diff --git a/.github/workflows/test-unit-optional.yml b/.github/workflows/test-unit-optional.yml index 71d7611e..4e481af6 100644 --- a/.github/workflows/test-unit-optional.yml +++ b/.github/workflows/test-unit-optional.yml @@ -18,6 +18,9 @@ jobs: - pypy-3.7 - pypy-3.8 - pypy-3.9 + - graalpy-22.3.1 + - graalpy-23.1.2 + - graalpy-24.1.1 include: - {os: "macos", python-version: "3.5"} - {os: "macos", python-version: "3.6"} From c5efb93532e54734e7ced3831e5f93dd85384012 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Thu, 17 Oct 2024 10:19:49 +0200 Subject: [PATCH 5/5] [.github] Run optional tests on x86 macOS arm64 macOS does not have these older versions. --- .github/workflows/test-build-optional.yml | 12 ++++-------- .github/workflows/test-unit-optional.yml | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-build-optional.yml b/.github/workflows/test-build-optional.yml index 5c385d65..82ba8c48 100644 --- a/.github/workflows/test-build-optional.yml +++ b/.github/workflows/test-build-optional.yml @@ -11,8 +11,8 @@ jobs: fail-fast: false matrix: os: - - ubuntu - - macos + - ubuntu-latest + - macos-13 python-version: - pypy-3.6 - pypy-3.7 @@ -23,12 +23,8 @@ jobs: - graalpy-23.1.2 - graalpy-24.1.1 include: - - {os: "macos", python-version: "3.5"} - - {os: "macos", python-version: "3.6"} - exclude: - - {os: "macos", python-version: "pypy-3.6"} - - {os: "macos", python-version: "pypy-3.9"} - runs-on: ${{ matrix.os }}-latest + - {os: "macos-13", python-version: "3.6"} + runs-on: ${{ matrix.os }} steps: - name: Check out repository code uses: actions/checkout@v4 diff --git a/.github/workflows/test-unit-optional.yml b/.github/workflows/test-unit-optional.yml index 4e481af6..b508b0de 100644 --- a/.github/workflows/test-unit-optional.yml +++ b/.github/workflows/test-unit-optional.yml @@ -11,8 +11,8 @@ jobs: fail-fast: false matrix: os: - - ubuntu - - macos + - ubuntu-latest + - macos-13 python-version: - pypy-3.6 - pypy-3.7 @@ -22,12 +22,8 @@ jobs: - graalpy-23.1.2 - graalpy-24.1.1 include: - - {os: "macos", python-version: "3.5"} - - {os: "macos", python-version: "3.6"} - exclude: - - {os: "macos", python-version: "pypy-3.6"} - - {os: "macos", python-version: "pypy-3.9"} - runs-on: ${{ matrix.os }}-latest + - {os: "macos-13", python-version: "3.6"} + runs-on: ${{ matrix.os }} steps: - name: Check out repository code uses: actions/checkout@v4