diff --git a/.github/workflows/infection.yml b/.github/workflows/infection.yml index 4d43007..5b72ec9 100644 --- a/.github/workflows/infection.yml +++ b/.github/workflows/infection.yml @@ -49,10 +49,10 @@ jobs: - name: autoload working-directory: moodle run: | - echo " vendor/autoloadmoodle.php + echo ' vendor/autoloadmoodle.php + echo 'define("PHPUNIT_UTIL", true);' >> vendor/autoloadmoodle.php + echo 'require(__DIR__ . "/../lib/phpunit/bootstrap.php");' >> vendor/autoloadmoodle.php + echo 'require("autoload.php");' >> vendor/autoloadmoodle.php - name: infection if: ${{ !cancelled() }}