File tree 5 files changed +21
-11
lines changed
5 files changed +21
-11
lines changed Original file line number Diff line number Diff line change
1
+ /.github export-ignore
2
+ /tests export-ignore
3
+ /phpstan.sh export-ignore
4
+ /phpunit.xml.dist export-ignore
5
+ /infection.json.dist export-ignore
6
+ /phpstan.neon export-ignore
7
+ /phpstan.sh export-ignore
8
+ /phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 60
60
with :
61
61
php-version : ${{ matrix.php }}
62
62
extensions : mbstring, intl, mysql
63
- coverage : " pcov"
63
+ coverage : ' pcov'
64
64
env :
65
65
COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66
66
update : true
@@ -76,16 +76,11 @@ jobs:
76
76
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
77
77
restore-keys : ${{ runner.os }}-composer-
78
78
79
- - name : Install dependencies with PHP 8
80
- if : matrix.php == '8.0'
81
- run : composer update --ignore-platform-reqs --prefer-dist --no-interaction --no-progress --optimize-autoloader
82
-
83
- - name : Install dependencies with PHP 7
84
- if : matrix.php == '7.4'
85
- run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader
79
+ - name : Install dependencies
80
+ run : composer update --no-interaction --no-progress --optimize-autoloader
86
81
87
82
- name : Run PHPUnit
88
- if : matrix.php == '8.0 '
83
+ if : matrix.php != '7.4 '
89
84
run : vendor/bin/phpunit
90
85
91
86
- name : Run Infection with PHPUnit
94
89
mkdir -p build/logs
95
90
vendor/bin/phpunit --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml
96
91
vendor/bin/infection --threads=2 --coverage=build/logs --show-mutations --no-progress
92
+ env :
93
+ STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
Original file line number Diff line number Diff line change 4
4
![ Latest Stable Version] ( https://img.shields.io/packagist/v/yii-podium/yii2-api.svg )
5
5
[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/yii-podium/yii2-api.svg )] ( https://packagist.org/packages/yii-podium/yii2-api )
6
6
![ License] ( https://img.shields.io/packagist/l/yii-podium/yii2-api.svg )
7
+ [ ![ Infection MSI] ( https://badge.stryker-mutator.io/github.com/yii-podium/yii2-api/master )] ( https://infection.github.io )
7
8
8
9
Yii 2 Forum Engine Module API
9
10
@@ -33,5 +34,6 @@ Please refer to the [Documentation](https://github.com/yii-podium/yii2-api/blob/
33
34
34
35
## Podium Packages
35
36
37
+ - Yii 2 Podium API Active Record (WIP)
36
38
- Yii 2 Podium Web Client (WIP)
37
39
- Yii 2 Podium Rest Client (WIP)
Original file line number Diff line number Diff line change 16
16
],
17
17
"minimum-stability" : " stable" ,
18
18
"require" : {
19
- "php" : " ^ 7.4|^8.0 " ,
19
+ "php" : " >= 7.4" ,
20
20
"yiisoft/yii2" : " ^2.0.19"
21
21
},
22
22
"require-dev" : {
Original file line number Diff line number Diff line change 5
5
]
6
6
},
7
7
"logs": {
8
- "text": "infection.log"
8
+ "text": "infection.log",
9
+ "badge": {
10
+ "branch": "master"
11
+ }
9
12
},
10
13
"mutators": {
11
14
"@default": true
You can’t perform that action at this time.
0 commit comments