From 9f2c94746737372dfd380970c08f9e84dbd85a49 Mon Sep 17 00:00:00 2001 From: Markus Heck <51326311+Glutamat42@users.noreply.github.com> Date: Wed, 3 Apr 2024 23:37:27 +0200 Subject: [PATCH] Update moodle-ci.yml --- .github/workflows/moodle-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index eeaff2c..94ab864 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -146,10 +146,13 @@ jobs: #moodle-plugin-ci coveralls-upload #cat /home/runner/work/MoodlePluginLocal/MoodlePluginLocal/moodle/local/adler/build/logs/coveralls-upload.json # cd moodle - composer require php-coveralls/php-coveralls - # cd local/adler + # composer require php-coveralls/php-coveralls + # + # php-coveralls has to be executed from a directory that is a git repository (branch detection) + cd moodle/local/adler # # workaround for https://github.com/php-coveralls/php-coveralls/issues/358 # unset GITHUB_ACTIONS + composer require php-coveralls/php-coveralls php vendor/bin/php-coveralls --coverage_clover=coverage.xml -v --json_path coveralls_upload.json --exclude-no-stmt # There are no behat tests