Skip to content

Commit

Permalink
Update php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbeckers authored Jul 28, 2022
1 parent b18996e commit 22277aa
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: PHP Composer

on:
push:
branches: [ "master", "develop" ]
branches: [ "master" ]
pull_request:
branches: [ "master", "develop" ]
branches: [ "master" ]

permissions:
contents: read
Expand All @@ -31,15 +31,6 @@ jobs:

- name: Run test suite
run: php ./vendor/bin/phpunit
# - name: Run test suite with coverage
# run: php ./vendor/bin/phpunit --coverage-text --coverage-clover ./clover.xml

- name: Run cs fixer
run: php ./vendor/bin/php-cs-fixer fix --config=.php_cs.php --verbose --diff --dry-run --allow-risky=yes

# - name: Upload coverage results to Coveralls
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# composer require php-coveralls/php-coveralls -W
# ./vendor/php-coveralls/php-coveralls/bin/php-coveralls --coverage_clover=clover.xml -v

0 comments on commit 22277aa

Please sign in to comment.