File tree 5 files changed +51
-35
lines changed
5 files changed +51
-35
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ schedule :
6
+ - cron : ' 0 0 * * *'
7
+
8
+ jobs :
9
+ php74-min :
10
+ name : PHP 7.4 (--prefer-lowest)
11
+ runs-on : ubuntu-20.04
12
+ steps :
13
+ - name : checkout
14
+ uses : actions/checkout@v2
15
+ - name : composer test
16
+ uses : docker://chubbyphp/ci-php74:latest
17
+ env :
18
+ COMPOSER_ARGS : " --prefer-lowest"
19
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
21
+ php74 :
22
+ name : PHP 7.4
23
+ runs-on : ubuntu-20.04
24
+ steps :
25
+ - name : checkout
26
+ uses : actions/checkout@v2
27
+ - name : composer test
28
+ uses : docker://chubbyphp/ci-php74:latest
29
+ env :
30
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
32
+ php80 :
33
+ name : PHP 8.0
34
+ runs-on : ubuntu-20.04
35
+ steps :
36
+ - name : checkout
37
+ uses : actions/checkout@v2
38
+ - name : composer test
39
+ uses : docker://chubbyphp/ci-php80:latest
40
+ env :
41
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
+ STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
43
+ - name : sonarcloud.io
44
+ uses : sonarsource/sonarcloud-github-action@master
45
+ env :
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# chubbyphp-framework-skeleton
2
2
3
- [ ![ Build Status ] ( https://api.travis-ci.org /chubbyphp/chubbyphp-framework-skeleton.png ?branch=master )] ( https://travis-ci.org /chubbyphp/chubbyphp-framework-skeleton )
3
+ [ ![ CI ] ( https://github.com /chubbyphp/chubbyphp-framework-skeleton/workflows/CI/badge.svg ?branch=master )] ( https://github.com /chubbyphp/chubbyphp-framework-skeleton/actions?query=workflow%3ACI )
4
4
[ ![ Coverage Status] ( https://coveralls.io/repos/github/chubbyphp/chubbyphp-framework-skeleton/badge.svg?branch=master )] ( https://coveralls.io/github/chubbyphp/chubbyphp-framework-skeleton?branch=master )
5
- [ ![ Infection MSI] ( https://badge.stryker-mutator.io/github.com/chubbyphp/chubbyphp-framework-skeleton/master )] ( https://travis-ci.org/ chubbyphp/chubbyphp-framework-skeleton )
5
+ [ ![ Infection MSI] ( https://badge.stryker-mutator.io/github.com/chubbyphp/chubbyphp-framework-skeleton/master )] ( https://dashboard.stryker-mutator.io/reports/github.com/ chubbyphp/chubbyphp-framework-skeleton/master )
6
6
7
7
[ ![ bugs] ( https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-framework-skeleton&metric=bugs )] ( https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-skeleton )
8
8
[ ![ code_smells] ( https://sonarcloud.io/api/project_badges/measure?project=chubbyphp_chubbyphp-framework-skeleton&metric=code_smells )] ( https://sonarcloud.io/dashboard?id=chubbyphp_chubbyphp-framework-skeleton )
Original file line number Diff line number Diff line change 53
53
" @test:loc" ,
54
54
" @test:cs"
55
55
],
56
- "test:cs" : " mkdir -p build && PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache" ,
56
+ "test:cs" : " mkdir -p build && vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache" ,
57
57
"test:infection" : " vendor/bin/infection --threads=$(nproc) --min-msi=100 --verbose --coverage=build/phpunit" ,
58
58
"test:integration" : " vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache" ,
59
59
"test:lint" : " mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log" ,
Original file line number Diff line number Diff line change
1
+ sonar.organization =chubbyphp
1
2
sonar.projectKey =chubbyphp_chubbyphp-framework-skeleton
2
3
sonar.projectName =chubbyphp-framework-skeleton
3
4
You can’t perform that action at this time.
0 commit comments