From 9a7a25f229c9ec245c55fca2782908f3c198211f Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 21 Mar 2023 15:26:42 -0400 Subject: [PATCH 1/3] Start with version 3.11 first and go towards 3.7 --- .github/workflows/pytest.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index fed12f7a1..68a1902d3 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -14,7 +14,7 @@ jobs: strategy: matrix: # "3.10" must be a string; otherwise it is interpreted as 3.1. - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.11", "3.10", "3.9", "3.8", "3.7"] fail-fast: false steps: @@ -57,7 +57,7 @@ jobs: if: github.event_name != 'release' strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.11", "3.10", "3.9", "3.8", "3.7"] fail-fast: false steps: @@ -76,7 +76,7 @@ jobs: if: github.event_name != 'release' strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.11", "3.10", "3.9", "3.8", "3.7"] fail-fast: false steps: From f8ca1b3795bc2c1a9dc741cb66f6f6a326b92ab2 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 21 Mar 2023 15:27:13 -0400 Subject: [PATCH 2/3] Perform unit tests and checks on macos/windows/ubuntu --- .github/workflows/pytest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 68a1902d3..c19393923 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -15,6 +15,7 @@ jobs: matrix: # "3.10" must be a string; otherwise it is interpreted as 3.1. python-version: ["3.11", "3.10", "3.9", "3.8", "3.7"] + os: [ubuntu-latest, windows-latest, macOS-latest] fail-fast: false steps: From bf2233a5b9fbb7080cb3bc24352d95b039217308 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 21 Mar 2023 15:30:42 -0400 Subject: [PATCH 3/3] display the OS in the name --- .github/workflows/pytest.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index c19393923..1c70755af 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -54,11 +54,12 @@ jobs: e2e: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} if: github.event_name != 'release' strategy: matrix: python-version: ["3.11", "3.10", "3.9", "3.8", "3.7"] + os: [ubuntu-latest] fail-fast: false steps: @@ -73,11 +74,12 @@ jobs: make e2e examples: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} if: github.event_name != 'release' strategy: matrix: python-version: ["3.11", "3.10", "3.9", "3.8", "3.7"] + os: [ubuntu-latest] fail-fast: false steps: