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 250b5d5 commit caa705aCopy full SHA for caa705a
.github/workflows/php.yml
@@ -0,0 +1,36 @@
1
+name: PHP
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - name: Setup PHP
17
+ uses: shivammathur/setup-php@v2
18
+ with:
19
+ php-version: '7.4'
20
+ coverage: xdebug
21
+ env:
22
+ update: true
23
24
+ - name: Validate composer.json and composer.lock
25
+ run: composer validate
26
27
+ - name: Install dependencies
28
+ run: composer install --prefer-dist --no-progress --no-suggest
29
30
+ - name: Tests
31
+ run: composer run-script phpunit
32
33
+ - name: Mutation tests
34
+ run: composer run-script infection
35
36
+ STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
0 commit comments