Skip to content

Commit

Permalink
Refactor?
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Mar 7, 2024
1 parent a2cf90a commit b92ac64
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ jobs:
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3
ldap:
image: bitnami/openldap
ports:
- 3389:3389
env:
LDAP_ADMIN_USERNAME: admin
LDAP_ADMIN_PASSWORD: password
LDAP_ROOT: dc=example,dc=com
LDAP_PORT_NUMBER: 3389
LDAP_CUSTOM_SCHEMA_FILE: /schema/eduperson.ldif
BITNAMI_DEBUG: true
volumes:
- ${{ github.workspace }}/tests/fixtures/eduperson.ldif:/schema/eduperson.ldif

strategy:
fail-fast: false
Expand All @@ -63,6 +50,12 @@ jobs:
with:
path: plugin

- name: Start OpenLDAP with eduPerson
uses: addnab/docker-run-action@v3
with:
image: bitnami/openldap
options: --env LDAP_ADMIN_USERNAME=admin --env LDAP_ADMIN_PASSWORD=password --env LDAP_ROOT="dc=example,dc=com" --env LDAP_PORT_NUMBER=3389 --env LDAP_CUSTOM_SCHEMA_FILE=/schema/eduperson.ldif -v "${{ github.workspace }}/plugin/tests/fixtures/eduperson.ldif:/schema/eduperson.ldif" --env BITNAMI_DEBUG=true

- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit b92ac64

Please sign in to comment.