Upgrade to phpunit 10 #403
Workflow file for this run
This file contains 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
# https://docs.github.com/en/actions | |
name: "Integrate" | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "6.x" | |
pull_request: null | |
# Allow manually triggering the workflow. | |
workflow_dispatch: null | |
jobs: | |
code-coverage: | |
name: "Code Coverage" | |
uses: "phpDocumentor/.github/.github/workflows/[email protected]" | |
with: | |
php-version: "8.2" | |
coding-standards: | |
name: "Coding Standards" | |
runs-on: "ubuntu-22.04" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
php-version: "8.2" | |
tools: "cs2pr" | |
- name: "Install dependencies with Composer" | |
uses: "ramsey/composer-install@v3" | |
with: | |
dependency-versions: "locked" | |
- name: "Run PHP_CodeSniffer" | |
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr" | |
dependency-analysis: | |
name: "Dependency analysis" | |
uses: "phpDocumentor/.github/.github/workflows/[email protected]" | |
with: | |
php-version: "8.2" | |
lint-root: | |
name: "Lint root" | |
uses: "phpDocumentor/.github/.github/workflows/[email protected]" | |
with: | |
php-version: "8.2" | |
composer-options: "--no-check-publish --ansi" | |
static-analysis: | |
name: "Static analysis" | |
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@main" | |
with: | |
php-version: "8.2" | |
php-extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo, pcntl, posix" | |
unit-tests: | |
name: "Unit test" | |
uses: "phpDocumentor/.github/.github/workflows/[email protected]" | |
integration-tests: | |
name: "Integration test" | |
uses: "phpDocumentor/.github/.github/workflows/[email protected]" | |
needs: "unit-tests" | |
with: | |
test-suite: "integration" |