From 63bee9fd12c80ac0be1bacb1cc2099a76afb9f65 Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Mon, 11 Mar 2024 16:17:39 -0300 Subject: [PATCH 1/5] Tweaks workflows config --- .github/workflows/run-tests.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f8b19a83..628817f6 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,31 +9,12 @@ jobs: tests: strategy: matrix: - os: [Ubuntu, Windows, macOS] - php: [8.0, 8.1] - # php: [7.2, 7.3, 7.4, 8.0] - - include: - - os: Ubuntu - os-version: ubuntu-latest - - - os: Windows - os-version: windows-latest - - - os: macOS - os-version: macos-latest - - - os: macOS-11 - os-version: macos-11.0 - php: 8.0 - - - os: macOS-11 - os-version: macos-11.0 - php: 8.1 + os: [ubuntu-latest, windows-latest, macos-latest, macos-11] + php: [8.0, 8.1, 8.2] name: ${{ matrix.os }} - PHP ${{ matrix.php }} - runs-on: ${{ matrix.os-version }} + runs-on: ${{ matrix.os }} steps: - name: Checkout code From 9cbc3692cce19ebbb11761eb423f7a07dcd3996d Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Mon, 11 Mar 2024 16:24:17 -0300 Subject: [PATCH 2/5] Only run PHP 8.2 and 8.3 on CI --- .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 628817f6..05deb45f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-11] - php: [8.0, 8.1, 8.2] + php: [8.2, 8.3] name: ${{ matrix.os }} - PHP ${{ matrix.php }} From 43714b12f35bad6103e6d0d65814e90e851a3ad4 Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Fri, 3 May 2024 18:35:10 -0300 Subject: [PATCH 3/5] Adds 8.1 to GitHub workflow --- .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 05deb45f..3fe12a93 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-11] - php: [8.2, 8.3] + php: [8.1, 8.2, 8.3] name: ${{ matrix.os }} - PHP ${{ matrix.php }} From 0d69d2252aa9ce593740278d32c7fc5830b45858 Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Fri, 3 May 2024 19:03:01 -0300 Subject: [PATCH 4/5] Exclude macos builds for PHP 8.1 --- .github/workflows/run-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3fe12a93..37cd92f5 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,7 +11,11 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-11] php: [8.1, 8.2, 8.3] - + exclude: + - os: macos-latest + php: 8.1 + - os: macos-11 + php: 8.1 name: ${{ matrix.os }} - PHP ${{ matrix.php }} runs-on: ${{ matrix.os }} From 626108cf29d5c51134efac73309e8334b3b0b603 Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Fri, 3 May 2024 19:39:43 -0300 Subject: [PATCH 5/5] Remove macos-11 (builds were too slow) --- .github/workflows/run-tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 37cd92f5..a89393c1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,13 +9,8 @@ jobs: tests: strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-11] + os: [ubuntu-latest, windows-latest, macos-latest] php: [8.1, 8.2, 8.3] - exclude: - - os: macos-latest - php: 8.1 - - os: macos-11 - php: 8.1 name: ${{ matrix.os }} - PHP ${{ matrix.php }} runs-on: ${{ matrix.os }}