final tweaks before testing

This commit is contained in:
Adam Weston
2023-07-16 10:17:14 -04:00
parent af17c6f6ae
commit a76b5a4634
17 changed files with 186 additions and 166 deletions

View File

@@ -1,8 +1,10 @@
name: Run Tests
name: run-tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
@@ -12,13 +14,12 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1]
laravel: [10.*, 9.*]
stability: [prefer-stable]
laravel: [10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -40,8 +41,11 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D
- name: Execute tests
run: ./vendor/bin/pest --verbose
run: vendor/bin/pest --ci