forked from php-coveralls/php-coveralls
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge upstream php-coveralls/php-coveralls:master (#4)
* Update .travis.yml to include PHP 7.4 (php-coveralls#283) * Fix incorrect version in README (php-coveralls#286) * Add Guzzle 7 support (php-coveralls#288) * Add Guzzle 7 support * Update composer.json Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> * DX: Configurator - reduce cyclomatic complexity (php-coveralls#291) * CI: reduce amount of jobs (php-coveralls#292) * Allow to specify endpoint in arguments (php-coveralls#290) * Allow to specify endpoint in arguments * use new helper Co-authored-by: Dariusz Ruminski <dariusz.ruminski@gmail.com> * DX: Allow PHPUnit 7 (php-coveralls#294) * Added COVERALLS_PARALLEL support and Configured CI_BUILD_NUMBER for Travis CI (php-coveralls#279) * updated to detect COVERALLS_PARALLEL env var * added CI_BUILD_NUMBER into Configuration * updated README * fixed tests * Update RequirementsNotSatisfiedException.php * fix CS * fix checking of required fields + tests * add missing class property Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> * Prepare v2.3.0 * Add support for PHP 8 + PHPUnit 9 (php-coveralls#295) * Add support for PHP 8 + PHPUnit 9 * Add PHPUnit 4.8 workarounds * Do --ignore-platform-reqs on PHP 8 * Skip failing test due to missing get_debug_type() * Add insecure option (php-coveralls#289) * Add Github Actions and COVERALLS_FLAG_NAME support (php-coveralls#296) Co-authored-by: Smolevich <smolevich90@gmail.com> Co-authored-by: Simon Podlipsky <simon@podlipsky.net> * DX: .gitignore cache PHPUnit (php-coveralls#297) * Prepare v2.4.0 * Fix support of branch name with hyphen and "(no branch)" (php-coveralls#298) * Fix no-branch on CI error * fix support of dash in branch names * little tests cleanup * Prepare v2.4.1 * Correct spelling error in Github (php-coveralls#299) * Add COVERALLS_REPO_TOKEN to error message when run on Github Action (php-coveralls#302) * Update README.md (php-coveralls#303) Version 2.4.0 does not have a phar file, change to v2.4.2 * Add file missing for PHP 8 (php-coveralls#308) fixes php-coveralls#307 * Prepare v2.4.3 * Update CiEnvVarsCollector.php Re-arrange methods to avoid merge conflicts with upstream * Update JsonFileTest.php Remove duplicate method `shouldSetParallel()` * Update JsonFile.php Remove duplicate property `$parallel` * Update JsonFile.php Remove duplicate method `setParallel()` * Update CiEnvVarsCollector.php Fix code style * Update JsonFileTest.php Fix broken test Co-authored-by: Alexey Kopytko <alexey@kopytko.com> Co-authored-by: Viktor Szépe <viktor@szepe.net> Co-authored-by: Dmitry Ivanov <dmitry.g.ivanov@gmail.com> Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com> Co-authored-by: Dmitry Shemin <shemindmitry@gmail.com> Co-authored-by: Yih Yang <yyngo788n88@hotmail.com> Co-authored-by: Twin Huang <twinhuang@qq.com> Co-authored-by: Smolevich <smolevich90@gmail.com> Co-authored-by: Simon Podlipsky <simon@podlipsky.net> Co-authored-by: Danny van der Sluijs <danny.vandersluijs@icloud.com> Co-authored-by: Oanh Nguyen <oanhnn.bk@gmail.com> Co-authored-by: Jimmy Cleuren <jimmy.cleuren@gmail.com> Co-authored-by: Christian Raue <christian.raue@gmail.com>
- Loading branch information
1 parent
3dfc2fd
commit e382fe1
Showing
35 changed files
with
949 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
tags: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [7.1, 7.2, 7.3, 7.4] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Debug if needed | ||
run: | | ||
export DEBUG=${DEBUG:-false} | ||
if [[ "$DEBUG" == "true" ]]; then | ||
env | ||
fi | ||
env: | ||
DEBUG: ${{secrets.DEBUG}} | ||
- name: Setup php | ||
uses: shivammathur/setup-php@1.7.0 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, mbstring | ||
coverage: xdebug | ||
- name: Get Composer Cache Directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
- name: Install dependencies | ||
run: composer install | ||
- name: Run composer script | ||
run: | | ||
composer install-dev-tools; | ||
composer sca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ php-cs-fixer.phar | |
.coveralls.yml | ||
.php_cs | ||
.php_cs.cache | ||
.phpunit.result.cache | ||
phpunit.xml | ||
|
||
box.phar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.