Skip to content

Commit

Permalink
update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Apr 3, 2024
1 parent 852a36d commit 5078878
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5078878

Please sign in to comment.