From 066ef1bb5f8068259fb1bd1e5ee720600f76867b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 12:50:50 +0800 Subject: [PATCH] wip --- .github/workflows/browser-tests.yml | 6 +++--- .github/workflows/tests.yml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 8cc13b8b5..f6e422e8f 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -20,7 +20,7 @@ jobs: matrix: php: [8.1, 8.2, 8.3] laravel: [10, 11] - phpunit: [10.5, '11.0'] + phpunit: [10.5, 11] include: - php: 8.4 laravel: 11 @@ -29,7 +29,7 @@ jobs: - php: 8.1 laravel: 11 - laravel: 10 - phpunit: '11.0' + phpunit: 11 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }} @@ -60,6 +60,6 @@ jobs: run: php vendor/bin/testbench serve --no-reload & - name: Execute tests - run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --fail-on-deprecation --display-deprecations + run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --display-deprecations --fail-on-deprecation env: APP_URL: http://127.0.0.1:8000 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 397b745f2..a32c4ddf6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: matrix: php: [8.1, 8.2, 8.3] laravel: [10, 11] - phpunit: [10.5, '11.0'] + phpunit: [10.5, 11] include: - php: 8.4 laravel: 11 @@ -29,7 +29,7 @@ jobs: - php: 8.1 laravel: 11 - laravel: 10 - phpunit: '11.0' + phpunit: 11 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }} @@ -48,10 +48,10 @@ jobs: - name: Install dependencies run: | - composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Execute tests - run: vendor/bin/phpunit -c phpunit.xml.dist --fail-on-deprecation --display-deprecations + run: vendor/bin/phpunit -c phpunit.xml.dist --display-deprecations --fail-on-deprecation stub-tests: runs-on: ubuntu-22.04 @@ -59,7 +59,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.3] + php: [8.2, 8.3, 8.4] laravel: [10, 11] name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}