Skip to content

Commit

Permalink
Merge pull request #747 from driehle/feature/composer-scripts
Browse files Browse the repository at this point in the history
Updated composer scripts and removed coverage-checker
  • Loading branch information
driehle committed Nov 4, 2021
2 parents f59739b + c5b9982 commit 57247fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 49 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ jobs:
- name: "Run PHPUnit"
run: "composer test-coverage"

- name: "Test coverage"
run: "php build/coverage-checker.php coverage.xml 70"

- name: "Upload coverage file"
uses: "actions/upload-artifact@v2"
with:
Expand Down
3 changes: 0 additions & 3 deletions build/.gitignore

This file was deleted.

42 changes: 0 additions & 42 deletions build/coverage-checker.php

This file was deleted.

6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,15 @@
"scripts": {
"check": [
"@cs-check",
"@phpstan",
"@psalm",
"@test"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"phpstan": "phpstan analyse",
"psalm": "psalm --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --coverage-clover=coverage.xml"
"test-coverage": "phpunit --colors=always --coverage-clover=coverage.xml"
}
}

0 comments on commit 57247fe

Please sign in to comment.