Skip to content

Commit

Permalink
use postgres 10 for moodle 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamara Gunkel committed Mar 18, 2022
1 parent 99754e4 commit ec09863
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@ jobs:

steps:
- name: Start PostgreSQL
if: matrix.database == 'pgsql' && matrix.moodle-branch != 'master'
run: docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:9.6

- name: Start PostgreSQL
if: matrix.database == 'pgsql' && matrix.moodle-branch == 'master'
run: docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:10

- name: Check out repository code
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -119,9 +114,13 @@ jobs:
run: docker run -p 3306:3306 -e MYSQL_USER=root -e MYSQL_ALLOW_EMPTY_PASSWORD=true -d mariadb:10.5

- name: Start PostgreSQL
if: matrix.database == 'pgsql'
if: matrix.database == 'pgsql' && matrix.moodle-branch != 'master'
run: docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:9.6

- name: Start PostgreSQL
if: matrix.database == 'pgsql' && matrix.moodle-branch == 'master'
run: docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres:10

- name: Check out opencast-docker
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit ec09863

Please sign in to comment.