From 7294aee203a047df870d530bf3386c6751be14c6 Mon Sep 17 00:00:00 2001 From: NinaHerrmann Date: Thu, 10 Aug 2023 17:09:16 +0200 Subject: [PATCH] add automatic coverage script --- .github/workflows/moodle-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index 527e7c9989..46af0056c4 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -176,7 +176,11 @@ jobs: - name: PHPUnit tests if: ${{ always() }} - run: moodle-plugin-ci phpunit + run: | + moodle-plugin-ci phpunit --coverage-clover + moodle-plugin-ci coveralls-upload + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} - name: Behat features if: ${{ always() }}