Skip to content

Commit 011c5a4

Browse files
committed
Update run-tests.yml
1 parent f04d514 commit 011c5a4

1 file changed

Lines changed: 11 additions & 28 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@ name: run-tests
22

33
on:
44
push:
5-
paths:
6-
- '**.php'
7-
- '.github/workflows/run-tests.yml'
8-
- 'phpunit.xml.dist'
9-
- 'composer.json'
10-
- 'composer.lock'
11-
pull_request:
12-
paths:
13-
- '**.php'
14-
- '.github/workflows/run-tests.yml'
15-
- 'phpunit.xml.dist'
16-
- 'composer.json'
17-
- 'composer.lock'
185

196
concurrency:
207
group: ${{ github.workflow }}-${{ github.ref }}
@@ -23,20 +10,24 @@ concurrency:
2310
jobs:
2411
test:
2512
runs-on: ${{ matrix.os }}
26-
timeout-minutes: 5
2713
strategy:
2814
fail-fast: true
2915
matrix:
30-
os: [ubuntu-latest, windows-latest]
31-
php: [8.4, 8.3]
32-
laravel: [13.*, 12.*]
33-
stability: [prefer-lowest, prefer-stable]
16+
os: [ubuntu-latest]
17+
php: [8.4, 8.3, 8.2]
3418
include:
35-
- laravel: 13.*
19+
- php: 8.4
20+
laravel: 13.*
3621
testbench: 11.*
37-
- laravel: 12.*
22+
23+
- php: 8.3
24+
laravel: 12.*
3825
testbench: 10.*
3926

27+
- php: 8.2
28+
laravel: 11.*
29+
testbench: 9.*
30+
4031
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
4132

4233
steps:
@@ -50,18 +41,10 @@ jobs:
5041
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
5142
coverage: none
5243

53-
- name: Setup problem matchers
54-
run: |
55-
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
56-
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
57-
5844
- name: Install dependencies
5945
run: |
6046
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
6147
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
6248
63-
- name: List Installed Dependencies
64-
run: composer show -D
65-
6649
- name: Execute tests
6750
run: vendor/bin/pest --ci

0 commit comments

Comments
 (0)