This repository was archived by the owner on Jul 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +51
-35
lines changed Expand file tree Collapse file tree 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 11# chubbyphp-api-http
22
3- [ ![ Build Status ] ( https://api.travis-ci.org /chubbyphp/chubbyphp-api-http.png ?branch=master )] ( https://travis-ci.org /chubbyphp/chubbyphp-api-http )
3+ [ ![ CI ] ( https://github.com /chubbyphp/chubbyphp-api-http/workflows/CI/badge.svg ?branch=master )] ( https://github.com /chubbyphp/chubbyphp-api-http/actions?query=workflow%3ACI )
44[ ![ Coverage Status] ( https://coveralls.io/repos/github/chubbyphp/chubbyphp-api-http/badge.svg?branch=master )] ( https://coveralls.io/github/chubbyphp/chubbyphp-api-http?branch=master )
5- [ ![ Infection MSI] ( https://badge.stryker-mutator.io/github.com/chubbyphp/chubbyphp-api-http/master )] ( https://travis-ci.org/ chubbyphp/chubbyphp-api-http )
5+ [ ![ Infection MSI] ( https://badge.stryker-mutator.io/github.com/chubbyphp/chubbyphp-api-http/master )] ( https://dashboard.stryker-mutator.io/reports/github.com/ chubbyphp/chubbyphp-api-http/master )
66[ ![ Latest Stable Version] ( https://poser.pugx.org/chubbyphp/chubbyphp-api-http/v/stable.png )] ( https://packagist.org/packages/chubbyphp/chubbyphp-api-http )
77[ ![ Total Downloads] ( https://poser.pugx.org/chubbyphp/chubbyphp-api-http/downloads.png )] ( https://packagist.org/packages/chubbyphp/chubbyphp-api-http )
88[ ![ Monthly Downloads] ( https://poser.pugx.org/chubbyphp/chubbyphp-api-http/d/monthly )] ( https://packagist.org/packages/chubbyphp/chubbyphp-api-http )
Original file line number Diff line number Diff line change 5858 " @test:loc" ,
5959 " @test:cs"
6060 ],
61- "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" ,
61+ "test:cs" : " mkdir -p build && vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache" ,
6262 "test:infection" : " vendor/bin/infection --threads=$(nproc) --min-msi=100 --verbose --coverage=build/phpunit" ,
6363 "test:integration" : " vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache" ,
6464 "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
12sonar.projectKey =chubbyphp_chubbyphp-api-http
23sonar.projectName =chubbyphp-api-http
34
You can’t perform that action at this time.
0 commit comments