diff options
-rw-r--r-- | .github/workflows/php.yml | 12 | ||||
-rw-r--r-- | README.md | 11 |
2 files changed, 17 insertions, 6 deletions
diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a7414b5..479a9f9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -22,8 +22,8 @@ jobs: - name: PHPStan xml report if: always() - run: > - mkdir -p build/phpstan && + run: | + mkdir -p build/phpstan vendor/bin/phpstan analyse --no-progress --error-format=checkstyle > build/phpstan/checkstyle.xml - name: Analysis Publisher @@ -36,3 +36,11 @@ jobs: --report-type=checkstyle --path=**/build/phpcs/checkstyle.xml --report-type=checkstyle --path=**/build/phpstan/checkstyle.xml --publisher=github_check + + - name: Coveralls publish + if: always() + env: + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + composer require --quiet --no-interaction cedx/coveralls + vendor/bin/coveralls build/phpunit/cov.xml @@ -1,6 +1,6 @@ # W-CMS -![github status] ![code style] ![phpstan level] +[![build][github]][action] ![style][codestyle] ![phpstan][phpstan] [![coverage][coverage]][coveralls] W is a lightweight CMS tool, meant to help you design a website using a unique approach. It's targeting artists, or experimental projects. @@ -178,6 +178,9 @@ Then, to make the release, run the following command: To only build the release zip, simply run `make dist`. This will create a zip file in `dist/` of the current version. -[github status]: https://github.com/vincent-peugnet/wcms/workflows/build/badge.svg -[code style]: https://img.shields.io/badge/code%20style-PSR12-brightgreen -[phpstan level]: https://img.shields.io/badge/phpstan-level%205-green
\ No newline at end of file +[github]: https://github.com/vincent-peugnet/wcms/workflows/build/badge.svg +[action]: https://github.com/vincent-peugnet/wcms/actions +[codestyle]: https://img.shields.io/badge/code%20style-PSR12-brightgreen +[phpstan]: https://img.shields.io/badge/phpstan-level%205-green +[coverage]: https://coveralls.io/repos/github/vincent-peugnet/wcms/badge.svg?branch=master +[coveralls]: https://coveralls.io/github/vincent-peugnet/wcms?branch=master
\ No newline at end of file |