Skip to content

Commit

Permalink
chore: Run "snapshot tests" in Github action
Browse files Browse the repository at this point in the history
- Run all integration tests (including snapshot tests) using docker
  compose
  • Loading branch information
MontealegreLuis committed Jun 2, 2021
1 parent 33bdd2a commit 7ce1a8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,12 @@ jobs:
composer install --no-interaction --no-progress --no-suggest
- name: "Code quality checks"
run: |
vendor/bin/grumphp run
vendor/bin/composer-require-checker check
vendor/bin/php-cs-fixer fix --config=.php-cs-fixer-tests.php -v --dry-run --using-cache no
run: "make check"

- name: "Run tests with coverage"
run: "vendor/bin/phpunit --exclude-group=snapshot --coverage-text --coverage-clover=coverage.clover"

- name: "Send code coverage to Scrutinizr"
- name: "Send code coverage to Scrutinizer"
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
1 change: 0 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- next

jobs:
deploy:
Expand Down

0 comments on commit 7ce1a8a

Please sign in to comment.