We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82ce81 commit 1e5d41fCopy full SHA for 1e5d41f
.github/workflows/php.yml
@@ -1,4 +1,4 @@
1
-name: PHP Composer
+name: Testing
2
3
on:
4
push:
@@ -12,11 +12,22 @@ permissions:
12
jobs:
13
build:
14
15
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
16
+ strategy:
17
+ matrix:
18
+ os: [ ubuntu-latest, macos-latest, windows-latest ]
19
+ php: [ '7.4', '8.0', '8.1' ]
20
21
steps:
22
- uses: actions/checkout@v3
23
24
+ - name: Setup PHP
25
+ uses: shivammathur/setup-php@v2
26
+ with:
27
+ php-version: ${{ matrix.php }}
28
+ tools: composer
29
+ coverage: pcov
30
+
31
- name: Validate composer.json and composer.lock
32
run: composer validate --strict
33
0 commit comments