From e57ff699114d2f385f54aaa61c2a4555d4d651c1 Mon Sep 17 00:00:00 2001 From: bendichter Date: Thu, 16 Nov 2023 14:43:28 -0500 Subject: [PATCH 1/4] try test matrix --- .github/workflows/run_tests.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 322de8f2a..3db0d6362 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -1,4 +1,4 @@ -name: Linux Conda test +name: Multi-OS and Python Version Test on: pull_request: @@ -10,10 +10,14 @@ on: - main jobs: - build-linux-conda: - runs-on: ubuntu-latest + build: + runs-on: ${{ matrix.os }} strategy: max-parallel: 5 + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ['3.9', '3.10', '3.11'] + fail-fast: false steps: - uses: actions/checkout@v3 @@ -22,7 +26,7 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: auto-update-conda: true - python-version: '3.11' + python-version: ${{ matrix.python-version }} environment-file: environment.yml activate-environment: caiman From 87bff396516d8c800630817fb5a0ceae18c8be70 Mon Sep 17 00:00:00 2001 From: bendichter Date: Thu, 16 Nov 2023 15:04:56 -0500 Subject: [PATCH 2/4] test different python versions --- .github/workflows/run_tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 3db0d6362..22db0b148 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -1,4 +1,4 @@ -name: Multi-OS and Python Version Test +name: Python Version Test on Ubuntu on: pull_request: @@ -10,13 +10,12 @@ on: - main jobs: - build: - runs-on: ${{ matrix.os }} + build-ubuntu-python: + runs-on: ubuntu-latest strategy: max-parallel: 5 matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12'] fail-fast: false steps: From c8003bdfc3a06d97948cc194592b5a3ab5c957b1 Mon Sep 17 00:00:00 2001 From: bendichter Date: Thu, 16 Nov 2023 15:35:41 -0500 Subject: [PATCH 3/4] rmv py3.12 --- .github/workflows/run_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 22db0b148..084332187 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11'] fail-fast: false steps: From f162a67969d5f9a8338488472edea26b07110563 Mon Sep 17 00:00:00 2001 From: bendichter Date: Thu, 16 Nov 2023 17:01:33 -0500 Subject: [PATCH 4/4] revent name changes --- .github/workflows/run_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 084332187..b836c7a96 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -1,4 +1,4 @@ -name: Python Version Test on Ubuntu +name: Linux Conda test on: pull_request: @@ -10,7 +10,7 @@ on: - main jobs: - build-ubuntu-python: + build-linux-conda: runs-on: ubuntu-latest strategy: max-parallel: 5