From 43a782017c25ca6d946a11b004aada39af30620f Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 10:42:00 +0100 Subject: [PATCH 01/12] add matrix to CI to expand tests --- .github/workflows/ci.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68351191a..1c9d58adc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,14 +17,20 @@ jobs: # Only then, normal testing proceeds unit-tests: needs: qa - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + + + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: [3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | @@ -48,14 +54,19 @@ jobs: regression-tests: needs: qa - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + python-version: [3.8, 3.9, 3.10, 3.11] steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | From 70ef6a416f13aeb2e1f3cf505b2f6b015d452f84 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 19 May 2023 11:41:25 +0100 Subject: [PATCH 02/12] Update .github/workflows/ci.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Diego Alonso Álvarez <6095790+dalonsoa@users.noreply.github.com> --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c9d58adc..e34e1be4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: strategy: matrix: + fail-fast: false os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.8, 3.9, 3.10, 3.11] From 57c677ed0cbbf7b16cf831a8e1488a78c9c75361 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 19 May 2023 11:41:36 +0100 Subject: [PATCH 03/12] Update .github/workflows/ci.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Diego Alonso Álvarez <6095790+dalonsoa@users.noreply.github.com> --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e34e1be4b..c8b5505bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,8 @@ jobs: strategy: matrix: - os: [macos-latest, ubuntu-latest, windows-latest] + fail-fast: false + os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.8, 3.9, 3.10, 3.11] steps: From e77742e8516c78aa6aa1a0aec5dd2901f0ce08a2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 19 May 2023 11:46:59 +0100 Subject: [PATCH 04/12] Update .github/workflows/ci.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Diego Alonso Álvarez <6095790+dalonsoa@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8b5505bb..aef231945 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: matrix: fail-fast: false os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, 3.10, 3.11] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 From b4a27cae9d811a651f7a0903b67af816ef7184a6 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 19 May 2023 11:56:04 +0100 Subject: [PATCH 05/12] Update .github/workflows/ci.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Diego Alonso Álvarez <6095790+dalonsoa@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aef231945..30efe1bf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: matrix: fail-fast: false os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, 3.10, 3.11] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 From f21eeb620a8723e15b05ffbc4f6beca7af2ff3c7 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 12:16:08 +0100 Subject: [PATCH 06/12] Run test on push to expand_ci_system branch --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30efe1bf2..65ae0cf2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, synchronize, reopened] push: - branches: [main, develop] + branches: [main, develop, expand_ci_system] jobs: # Checks the style using the pre-commit hooks From 0a99291fec1b533b36e34357d96a4403304c2e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Alonso=20=C3=81lvarez?= <6095790+dalonsoa@users.noreply.github.com> Date: Fri, 19 May 2023 12:34:53 +0100 Subject: [PATCH 07/12] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65ae0cf2a..9d14b9868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: pull_request: types: [opened, synchronize, reopened] push: - branches: [main, develop, expand_ci_system] jobs: # Checks the style using the pre-commit hooks From 098e940c066ca02f2573afe8b04c23260d69541b Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 12:40:49 +0100 Subject: [PATCH 08/12] Fix error in workflow file --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65ae0cf2a..4d862aa42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,8 +21,8 @@ jobs: strategy: + fail-fast: false matrix: - fail-fast: false os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] @@ -58,8 +58,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - fail-fast: false os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.8", "3.9", "3.10", "3.11"] From 762a34f29a60f0ad1509c51978d68298b0856135 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 12:42:46 +0100 Subject: [PATCH 09/12] Fix error in workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adb677cba..9de91e705 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, synchronize, reopened] push: - + branches: [main, develop, expand_ci_system] jobs: # Checks the style using the pre-commit hooks qa: From 3a5d1242df34a3e2c1eebb2420924f986da3dc12 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 14:22:22 +0100 Subject: [PATCH 10/12] Remove targeting Python 3.10 and 3.11 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9de91e705..68bd267c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9"] steps: - uses: actions/checkout@v3 From f6a6f9bc0c282c0309364e570253a87768d4eb48 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 14:26:21 +0100 Subject: [PATCH 11/12] Remove targeting Python 3.10 and 3.11 from regression-tests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68bd267c6..86bde140b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9"] steps: - uses: actions/checkout@v3 From f9d486f714967448a12fea3cc6187183d7c2e646 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Fri, 19 May 2023 14:42:48 +0100 Subject: [PATCH 12/12] Remove expand_ci_system branch from list of branches in CI workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86bde140b..3e62503e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: types: [opened, synchronize, reopened] push: - branches: [main, develop, expand_ci_system] + branches: [main, develop] jobs: # Checks the style using the pre-commit hooks qa: