Repository navigation
Continuous integration #1032
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Continuous integration" | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| tags: | |
| - "*" | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| # The changelog and plugin manifest checks read the pull request files | |
| permissions: | |
| contents: "read" | |
| pull-requests: "read" | |
| jobs: | |
| generate-ci-matrix: | |
| name: "Generate CI matrix" | |
| uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1" | |
| with: | |
| glpi-version: "12.0.x" | |
| ci: | |
| name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}" | |
| needs: "generate-ci-matrix" | |
| strategy: | |
| fail-fast: false | |
| matrix: ${{ fromJson(needs.generate-ci-matrix.outputs.matrix) }} | |
| uses: "glpi-project/plugin-ci-workflows/.github/workflows/continuous-integration.yml@v1" | |
| with: | |
| plugin-key: "pdf" | |
| glpi-version: "${{ matrix.glpi-version }}" | |
| php-version: "${{ matrix.php-version }}" | |
| db-image: "${{ matrix.db-image }}" |