Skip to content

Commit

Permalink
Fix Coveralls (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Oct 13, 2021
1 parent 16fc147 commit 0bc143d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -25,6 +25,10 @@ jobs:
- '--prefer-lowest'
include:
- php: '7.4'
dependency: ''
symfony: '5.3.*'
bootable: true
- php: '8.0'
dependency: ''
symfony: '5.3.*'
coverage: true
Expand Down Expand Up @@ -64,14 +68,14 @@ jobs:
run: composer update --no-progress --ansi --prefer-stable ${{ matrix.dependency }}

- name: Bundle is bootable
if: matrix.bootable
if: ${{ matrix.bootable && github.event_name == 'push' }}
env:
SKELETON_VERSION: ${{matrix.symfony}}
run: |
composer create-project "symfony/skeleton:${SKELETON_VERSION}" flex
cd flex
composer config extra.symfony.allow-contrib true
composer req gheb/docusign-bundle
composer req gheb/docusign-bundle:dev-${GITHUB_REF#refs/heads/}
- name: Run php-cs-fixer tests
run: php-cs-fixer fix --diff --dry-run
Expand Down Expand Up @@ -140,5 +144,5 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require --prefer-dist --no-progress --ansi cedx/coveralls
$HOME/.composer/vendor/bin/coveralls build/logs/phpunit/clover.xml
composer global require --prefer-dist --no-progress --ansi php-coveralls/php-coveralls
$HOME/.composer/vendor/bin/php-coveralls --coverage_clover=build/logs/phpunit/clover.xml -v
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -28,7 +28,7 @@
"docusign/esign-client": "^3.0",
"lcobucci/jwt": "^3.3.1 || ^4.0",
"league/flysystem": "^1.1 || ^2.3",
"psr/log": "^1.1",
"psr/log": "^1.1 || ^2.0",
"symfony/config": "^4.4 || ^5.0",
"symfony/dependency-injection": "^4.4 || ^5.0",
"symfony/event-dispatcher-contracts": "^1.0 || ^2.0",
Expand Down

0 comments on commit 0bc143d

Please sign in to comment.