Skip to content

Commit b1dc250

Browse files
committed
Fix run-tests.yml
1 parent f727df3 commit b1dc250

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: run-tests
22

3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
3+
on: [push, pull_request]
84

95
jobs:
106
test:
@@ -22,7 +18,7 @@ jobs:
2218
- laravel: 9.*
2319
testbench: 7.*
2420

25-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
21+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2622

2723
steps:
2824
- name: Checkout code
@@ -43,7 +39,7 @@ jobs:
4339
- name: Install dependencies
4440
run: |
4541
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
46-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
42+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4743
4844
- name: Execute tests
4945
run: vendor/bin/pest

0 commit comments

Comments
 (0)