From 1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 23 Sep 2024 21:33:08 +0800 Subject: [PATCH] CI Improvements (#94) * CI Improvements Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki --------- Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 77587de5..18375af0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,17 +20,29 @@ jobs: laravel: [8, 9, 10, 11] exclude: - php: 7.3 - laravel: [9, 10, 11] + laravel: 9 + - php: 7.3 + laravel: 10 + - php: 7.3 + laravel: 11 + - php: 7.4 + laravel: 9 - php: 7.4 - laravel: [9, 10, 11] - - php: 8.0 - laravel: [10, 11] + laravel: 10 + - php: 7.4 + laravel: 11 + - php: '8.0' + laravel: 10 + - php: '8.0' + laravel: 11 - php: 8.1 - laravel: [8, 11] + laravel: 11 - php: 8.2 laravel: 8 - php: 8.3 laravel: 8 + - php: 8.3 + laravel: 9 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -52,7 +64,7 @@ jobs: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Install PHP dependencies - run: composer update --prefer-stable --no-interaction --no-progress + run: composer update --prefer-stable --no-interaction --no-progress --with="illuminate/support:^${{ matrix.laravel }}" - name: Execute tests run: vendor/bin/pest tests/Php73Test.php