-
-
Notifications
You must be signed in to change notification settings - Fork 20
46 lines (39 loc) · 1.25 KB
/
continuous-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: "Continuous Integration"
on:
pull_request:
push:
branches:
tags:
env:
php_extensions: ctype,mbstring
default_php: 8.2
jobs:
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected]
composer-require-checker:
name: "Check for missing dependencies"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shivammathur/[email protected]
with:
php-version: ${{ env.default_php }}
ini-values: memory_limit=-1
extensions: ${{ env.php_extensions }}
- uses: ramsey/[email protected]
- run: composer global config bin-dir /usr/local/bin
- run: composer global require -W maglnet/composer-require-checker
- run: /usr/local/bin/composer-require-checker check
infection:
name: "Mutation Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: shivammathur/[email protected]
with:
php-version: ${{ env.default_php }}
extensions: ${{ env.php_extensions }}
coverage: xdebug
ini-values: xdebug.mode=coverage
- uses: ramsey/[email protected]
- run: vendor/bin/infection --configuration=.mutation-tests.json