From 50788788c2b0c0e4d212a8401637f1c30c128198 Mon Sep 17 00:00:00 2001 From: Markus Heck Date: Thu, 4 Apr 2024 01:17:04 +0200 Subject: [PATCH] update pipeline --- .github/workflows/moodle-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index 7aed818..caba05c 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -131,20 +131,17 @@ jobs: - name: PHPUnit tests if: ${{ always() }} run: | + # "pending completion" coveralls issue also appeared directly using phpunit command moodle-plugin-ci phpunit --fail-on-warning --coverage-clover --testdox --coverage-pcov --coverage-text -vvv - name: Coveralls upload continue-on-error: true env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: ${{ matrix.php == '8.1' && matrix.moodle-branch == 'MOODLE_401_STABLE' && matrix.database == 'mariadb' }} run: | - cd moodle - composer require --dev php-coveralls/php-coveralls - cd local/logging - # workaround for https://github.com/php-coveralls/php-coveralls/issues/358 - unset GITHUB_ACTIONS - php ../../vendor/bin/php-coveralls --coverage_clover=coverage.xml -v --json_path coveralls_upload.json --exclude-no-stmt + # "pending completion" coveralls issue also appeared directly using php-coveralls + moodle-plugin-ci coveralls-upload # There are no behat tests # - name: Behat features