Skip to content
Snippets Groups Projects
Commit 656e1bfa authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Update CI settings. Move mariadb up in the release cycle.

parent 464f62b0
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
- 5432:5432 - 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
mariadb: mariadb:
image: mariadb:10 image: mariadb:10.6
env: env:
MYSQL_USER: 'root' MYSQL_USER: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: "true" MYSQL_ALLOW_EMPTY_PASSWORD: "true"
...@@ -44,6 +44,10 @@ jobs: ...@@ -44,6 +44,10 @@ jobs:
moodle-branch: 'MOODLE_402_STABLE' moodle-branch: 'MOODLE_402_STABLE'
database: 'pgsql' database: 'pgsql'
maxima: 'SBCL' maxima: 'SBCL'
- php: '8.1'
moodle-branch: 'MOODLE_402_STABLE'
database: 'mariadb'
maxima: 'SBCL'
- php: '8.0' - php: '8.0'
moodle-branch: 'MOODLE_402_STABLE' moodle-branch: 'MOODLE_402_STABLE'
database: 'pgsql' database: 'pgsql'
...@@ -62,7 +66,7 @@ jobs: ...@@ -62,7 +66,7 @@ jobs:
maxima: 'SBCL' maxima: 'SBCL'
- php: '7.2' - php: '7.2'
moodle-branch: 'MOODLE_39_STABLE' moodle-branch: 'MOODLE_39_STABLE'
database: 'mariadb' database: 'pgsql'
maxima: 'SBCL' maxima: 'SBCL'
steps: steps:
...@@ -79,7 +83,7 @@ jobs: ...@@ -79,7 +83,7 @@ jobs:
echo "build_info();" | maxima echo "build_info();" | maxima
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: plugin path: plugin
...@@ -170,8 +174,11 @@ jobs: ...@@ -170,8 +174,11 @@ jobs:
if: ${{ matrix.moodle-branch == 'MOODLE_311_STABLE' }} if: ${{ matrix.moodle-branch == 'MOODLE_311_STABLE' }}
run: moodle-plugin-ci grunt run: moodle-plugin-ci grunt
- name: PHPUnit tests
if: ${{ always() }}
run: moodle-plugin-ci phpunit
- name: Behat features - name: Behat features
if: ${{ always() }} if: ${{ always() }}
run: moodle-plugin-ci behat --profile chrome run: moodle-plugin-ci behat --profile chrome
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment