From dde3278b9acec48020b6a8d6f908f0a050568374 Mon Sep 17 00:00:00 2001 From: Stephan Robotta Date: Fri, 20 Dec 2024 17:37:27 +0100 Subject: [PATCH] Adapt ci config. --- .github/workflows/moodle-plugin-ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index 33cdbc8..91e2228 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -17,7 +17,7 @@ jobs: options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 mariadb: - image: mariadb:10.6 + image: mariadb:10 env: MYSQL_USER: 'root' MYSQL_ALLOW_EMPTY_PASSWORD: "true" @@ -154,11 +154,11 @@ jobs: - name: Moodle Code Checker if: ${{ always() }} - run: moodle-plugin-ci phpcs --max-warnings 0 || true + run: moodle-plugin-ci phpcs --max-warnings 0 - name: Moodle PHPDoc Checker if: ${{ always() }} - run: moodle-plugin-ci phpdoc || true + run: moodle-plugin-ci phpdoc - name: Validating if: ${{ always() }} @@ -169,17 +169,16 @@ jobs: run: moodle-plugin-ci savepoints - name: Mustache Lint - continue-on-error: true # This step will show errors but will not fail if: ${{ always() }} run: moodle-plugin-ci mustache - name: Grunt if: ${{ always() }} - run: moodle-plugin-ci grunt || true + run: moodle-plugin-ci grunt --max-lint-warnings 0 - name: PHPUnit tests if: ${{ always() }} - run: moodle-plugin-ci phpunit --coverage-text || true + run: moodle-plugin-ci phpunit --fail-on-warning - name: Behat features if: ${{ always() }}