Skip to content

Commit

Permalink
test on ubuntu 24.04 and record db in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Nov 12, 2024
1 parent a50ca6f commit 457620d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ on:
- cron: '15 11 * * *'
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
env:
ISLANDORA_TAG: "${{ github.event.inputs.buildkit-tag }}"
ISLANDORA_STARTER_REF: "${{ github.event.inputs.starter-site-ref }}"
Expand All @@ -43,13 +46,14 @@ jobs:
for service in $services; do
docker compose --profile dev logs $service > "logs/${service}.log"
done
docker compose --profile dev exec mariadb-dev mysqldump drupal_default > logs/drupal_default.sql
- name: Upload logs as artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: docker-logs
path: logs/*.log
path: logs/*

- name: Notify Slack on nightly test failure
if: failure() && github.event_name == 'schedule'
Expand All @@ -58,4 +62,5 @@ jobs:
"text": "🚨 Scheduled job failed! Click to view the run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
}'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 457620d

Please sign in to comment.