Skip to content

Commit 265d9e8

Browse files
committed
Update GitHub Actions for Laravel 12
1 parent f710b6d commit 265d9e8

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Run unit tests"
1+
name: Run unit tests
22

33
on:
44
- push
@@ -9,17 +9,21 @@ env:
99

1010
jobs:
1111
test:
12-
name: "Lara ${{ matrix.laravel }} PHP ${{ matrix.php }} Unit ${{ matrix.phpunit }}"
12+
name: Lara ${{ matrix.laravel }} PHP ${{ matrix.php }} Unit ${{ matrix.phpunit }}
13+
1314
runs-on: ubuntu-latest
15+
1416
strategy:
15-
max-parallel: 6 # 12
17+
max-parallel: 6
1618
fail-fast: false
1719
matrix:
18-
laravel: [10, 11]
20+
laravel: [10, 11, '12']
1921
php: ['8.2', '8.3', '8.4']
20-
phpunit: [10]
22+
phpunit: ['8.2', '8.3', '8.4', 10]
2123
exclude:
22-
- {laravel: 10, php: '8.4'}
24+
- laravel: 10
25+
php: '8.4'
26+
2327
steps:
2428
- name: Checkout repository
2529
uses: actions/checkout@v3
@@ -52,9 +56,3 @@ jobs:
5256

5357
- name: Run unit tests
5458
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
55-
56-
# - name: Upload to Scrutinizer
57-
# continue-on-error: true
58-
# run: |
59-
# composer global require scrutinizer/ocular
60-
# ~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

0 commit comments

Comments
 (0)