Skip to content

Commit

Permalink
test against Moodle main and 4.4 stable with PHP 8.3.
Browse files Browse the repository at this point in the history
while at it, log workflows into the Ilios Slack.
  • Loading branch information
stopfstedt committed Jun 5, 2024
1 parent 171209d commit 3b1ca2c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
pull_request:
schedule:
- cron: '33 2 * * 1' # weekly, on Monday morning
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ILIOS_DEPLOYMENT_WEBHOOK_URL }}

jobs:
test:
Expand All @@ -26,9 +28,12 @@ jobs:
fail-fast: false
matrix:
include:
- php: '8.2'
- php: '8.3'
moodle-branch: 'main'
database: 'mariadb'
- php: '8.3'
moodle-branch: 'MOODLE_404_STABLE'
database: 'mariadb'
- php: '8.2'
moodle-branch: 'MOODLE_403_STABLE'
database: 'mariadb'
Expand Down Expand Up @@ -106,4 +111,10 @@ jobs:

- name: Mark cancelled jobs as failed.
if: ${{ cancelled() }}
run: exit 1
run: exit 1

- uses: act10ns/[email protected]
with:
status: ${{ job.status }}
message: Moodle Plugin CI failed {{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/actions/runs/{{ env.GITHUB_RUN_ID }}
if: failure()

0 comments on commit 3b1ca2c

Please sign in to comment.