From 3948cf84f782a348655c24b703602ba2c4d5484e Mon Sep 17 00:00:00 2001 From: davidbyoung Date: Mon, 17 Jul 2023 16:32:01 -0500 Subject: [PATCH] Updated to publish code coverage during CI --- .github/workflows/ci.yml | 6 ++++++ README.md | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8037a28..d152ac0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,3 +32,9 @@ jobs: run: composer phpcs-test - name: Run Psalm Static Analysis run: composer psalm + - name: Upload Coverage Results To Coveralls + env: + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + composer global require php-coveralls/php-coveralls + php-coveralls --coverage_clover=./.coverage/clover.xml --json_path=./coveralls-upload.json -v diff --git a/README.md b/README.md index 1d505b7..e6ae434 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@

- +Coverage Status +

-> **Note:** This library is not stable yet. +> **Note:** This framework is not stable yet. This application is a useful starting point for projects that use the Aphiria framework. Check out this repository, and get started building your own REST API.