Skip to content

Commit

Permalink
Use default CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Feb 20, 2024
1 parent d07f247 commit 0325428
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,30 @@ name: "Continuous integration"
on:
push:
branches:
- "master"
- "main"
tags:
- "*"
pull_request:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
generate-ci-matrix:
name: "Generate CI matrix"
uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1"
with:
glpi-version: "10.1.x"
ci:
name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}"
needs: "generate-ci-matrix"
strategy:
fail-fast: false
matrix:
include:
- {glpi-version: "10.1.x", php-version: "8.1", db-image: "mariadb:10.5"}
- {glpi-version: "10.1.x", php-version: "8.2", db-image: "mariadb:11.0"}
- {glpi-version: "10.1.x", php-version: "8.3-rc", db-image: "mysql:8.0"}
matrix: ${{ fromJson(needs.generate-ci-matrix.outputs.matrix) }}
uses: "glpi-project/plugin-ci-workflows/.github/workflows/continuous-integration.yml@v1"
with:
plugin-key: "deploy"
Expand Down

0 comments on commit 0325428

Please sign in to comment.