From 3e298b4d8adb36a34788fcc75e2c2b2b13c3adad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Mon, 6 Dec 2021 01:18:31 -0600 Subject: [PATCH 1/4] Actually test for different Python versions --- .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 915700b59..fd586ec14 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 with: { submodules: recursive } - uses: conda-incubator/setup-miniconda@v2 - with: { mamba-version: "*", channels: "conda-forge", channel-priority: true } + with: { mamba-version: "*", channels: "conda-forge", channel-priority: true, python-version: "${{ matrix.python }}" } - name: install dependencies shell: bash -l {0} run: | From 97db40173d4fef0d36401622f49dc8ca83d83799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Mon, 6 Dec 2021 01:18:51 -0600 Subject: [PATCH 2/4] test on Windows & macOS --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd586ec14..5ad2bc88f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,10 +9,11 @@ concurrency: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ${{ matrix.os }} strategy: matrix: python: ["3.8", "3.9"] + os: ["ubuntu-latest", "macos-latest", "windows-latest"] steps: - uses: actions/checkout@v2 with: { submodules: recursive } From 8a33c3e69c020b8041a40325e21c2f9f02006aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Mon, 6 Dec 2021 01:19:00 -0600 Subject: [PATCH 3/4] Test with latest Python version --- .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 5ad2bc88f..a25d13e08 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python: ["3.8", "3.9"] os: ["ubuntu-latest", "macos-latest", "windows-latest"] + python: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 with: { submodules: recursive } From c271e42283f122c2199f3b3d7a06e0239fb38fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20R=C3=BCth?= Date: Mon, 6 Dec 2021 01:23:15 -0600 Subject: [PATCH 4/4] Require Python 3.9 for @cache decorator --- .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 a25d13e08..1fc53e327 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - python: ["3.8", "3.9", "3.10"] + python: ["3.9", "3.10"] steps: - uses: actions/checkout@v2 with: { submodules: recursive }