Merge pull request #1077 from humanmade/dependabot/composer/v27-branc… #74
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: CI | |
| # Self-CI caller for dev-tools' own module-ci.yml. | |
| # Uses the relative-path form so this repo always tests the reusable workflow | |
| # at the same commit as the caller (i.e. the PR or push under test) rather | |
| # than whatever happens to be on master. Module repos that consume the | |
| # reusable workflow continue to pin via `@<sha>` in their own ci.yml. | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| - 'v*-branch' | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| - 'v*-branch' | |
| jobs: | |
| ci: | |
| uses: ./.github/workflows/module-ci.yml | |
| with: | |
| altis-package: altis/dev-tools | |
| test-command: phpunit | |
| secrets: | |
| DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
| DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
| # Proves a real install of this package scaffolds .github/workflows/ci.yml | |
| # from templates/project-ci.yml. See .github/workflows/tests/. | |
| bootstrap-tests: | |
| name: CI bootstrap tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.4' | |
| tools: composer | |
| - name: Static template/constraint linkage check | |
| run: .github/workflows/tests/ci-template-constraint.sh | |
| - name: End-to-end install scaffolds ci.yml | |
| run: .github/workflows/tests/ci-bootstrap-install.sh |