Skip to content

Commit 600bb01

Browse files
committed
Change run-tests
1 parent fc07e98 commit 600bb01

1 file changed

Lines changed: 5 additions & 18 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,17 @@ name: run-tests
33
on:
44
push:
55
branches: [main]
6-
pull_request:
7-
branches: [main]
86

97
jobs:
108
test:
119
runs-on: ${{ matrix.os }}
1210
strategy:
1311
fail-fast: true
1412
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [7.2, 7.4, 8.2, 8.1]
17-
laravel: [10.*]
18-
stability: [prefer-lowest, prefer-stable]
19-
include:
20-
- laravel: 10.*
21-
testbench: 8.*
22-
carbon: ^2.63
13+
os: [ubuntu-latest]
14+
php: [7.4]
2315

24-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
16+
name: P${{ matrix.php }} - ${{ matrix.os }}
2517

2618
steps:
2719
- name: Checkout code
@@ -34,15 +26,10 @@ jobs:
3426
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
3527
coverage: none
3628

37-
- name: Setup problem matchers
38-
run: |
39-
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
40-
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
41-
4229
- name: Install dependencies
4330
run: |
44-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
45-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
31+
composer require
32+
composer update
4633
4734
- name: List Installed Dependencies
4835
run: composer show -D

0 commit comments

Comments
 (0)