Skip to content

Commit

Permalink
Remove phpunit 10 test runner for now
Browse files Browse the repository at this point in the history
  • Loading branch information
joshhanley committed Jan 18, 2024
1 parent d4d24b4 commit 9533c93
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,54 +58,3 @@ jobs:
run: vendor/bin/phpunit --testsuite Browser -c phpunit.xml.dist
env:
RUNNING_IN_CI: true

tests-on-phpunit-10:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3]
laravel: [10.*]

name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, iconv, intl, zip, pdo_sqlite
tools: composer:v2
coverage: none

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-

- name: Install Composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update --dev
composer update --prefer-stable --no-interaction --no-suggest
- name: Touch database
run:
mkdir -p database
touch database/database.sqlite

- name: Setup dusk/chrome
run: vendor/bin/dusk-updater detect --no-interaction

- name: Run Browser tests
run: vendor/bin/phpunit --testsuite Browser -c phpunit-10.xml.dist
env:
RUNNING_IN_CI: true

0 comments on commit 9533c93

Please sign in to comment.