From 69274fb88e6c7068214cf037376b0461415296d3 Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Fri, 15 Nov 2024 00:44:47 +0800 Subject: [PATCH] Update GA --- .github/workflows/run-tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index cbd84c6..5bf1b55 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -49,10 +49,16 @@ jobs: - name: Install dependencies run: | composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update + + # Conditionally install guzzlehttp/guzzle, guzzlehttp/promises, and guzzlehttp/psr7 if Laravel 10 and PHP 8.3 + if [[ "${{ matrix.laravel }}" == "10.*" && "${{ matrix.php }}" == "8.3" ]]; then + composer require guzzlehttp/guzzle guzzlehttp/promises guzzlehttp/psr7 --no-interaction + fi + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies run: composer show -D - name: Execute tests - run: vendor/bin/pest --parallel --ci + run: vendor/bin/pest --ci