Skip to content

Commit f19b061

Browse files
committed
github actions
1 parent d65953a commit f19b061

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/php-test.yml renamed to .github/workflows/test.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
name: PHP Composer
1+
name: Run Tests
22

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

95
permissions:
106
contents: read
117

128
jobs:
13-
build:
9+
test:
1410
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
php-version: [ 8.1, 8.2, 8.3, 8.4 ]
1514

1615
steps:
1716
- uses: actions/checkout@v4
1817

19-
- name: Setup PHP
18+
- name: PHP ${{ matrix.php-version }}
2019
uses: shivammathur/setup-php@v2
2120
with:
22-
php-version: '8.1'
21+
php-version: ${{ matrix.php-version }}
2322
extensions: mbstring, intl, pdo_mysql
2423
coverage: none
2524

0 commit comments

Comments
 (0)