Next major release #195
Workflow file for this run
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 | ||
| on: [push, pull_request] | ||
| jobs: | ||
| blackbox: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| php-version: ['8.4'] | ||
| dependency-versions: ['lowest', 'highest'] | ||
| name: 'BlackBox' | ||
| services: | ||
| mariadb: | ||
| image: mariadb:10 | ||
| env: | ||
| MYSQL_ROOT_PASSWORD: root | ||
| MYSQL_DATABASE: example | ||
| ports: | ||
| - 3306 | ||
| postgres: | ||
| image: postgres:16 | ||
| env: | ||
| POSTGRES_USER: root | ||
| POSTGRES_PASSWORD: root | ||
| POSTGRES_DB: example | ||
| ports: | ||
| - 5432 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Setup PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: ${{ matrix.php-version }} | ||
| extensions: mbstring, intl | ||
| coverage: none | ||
| - name: Composer | ||
| uses: "ramsey/composer-install@v2" | ||
| with: | ||
| dependency-versions: ${{ matrix.dependencies }} | ||
| - name: BlackBox | ||
| run: php blackbox.php | ||
| env: | ||
| DB_PORT: ${{ job.services.mariadb.ports[3306] }} | ||
| POSTGRES_DB_PORT: ${{ job.services.postgres.ports[5432] }} | ||
| coverage: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| php-version: ['8.4'] | ||
| dependency-versions: ['lowest', 'highest'] | ||
| name: 'Coverage' | ||
| services: | ||
| mariadb: | ||
| image: mariadb:10 | ||
| env: | ||
| MYSQL_ROOT_PASSWORD: root | ||
| MYSQL_DATABASE: example | ||
| ports: | ||
| - 3306 | ||
| postgres: | ||
| image: postgres:16 | ||
| env: | ||
| POSTGRES_USER: root | ||
| POSTGRES_PASSWORD: root | ||
| POSTGRES_DB: example | ||
| ports: | ||
| - 5432 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Setup PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: ${{ matrix.php-version }} | ||
| extensions: mbstring, intl | ||
| coverage: xdebug | ||
| - name: Composer | ||
| uses: "ramsey/composer-install@v2" | ||
| with: | ||
| dependency-versions: ${{ matrix.dependencies }} | ||
| - name: BlackBox | ||
| run: php blackbox.php | ||
| env: | ||
| ENABLE_COVERAGE: 'true' | ||
| DB_PORT: ${{ job.services.mariadb.ports[3306] }} | ||
| POSTGRES_DB_PORT: ${{ job.services.postgres.ports[5432] }} | ||
| - uses: codecov/codecov-action@v1 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| psalm: | ||
| uses: innmind/github-workflows/.github/workflows/psalm-matrix.yml@next | ||
|
Check failure on line 95 in .github/workflows/ci.yml
|
||
| cs: | ||
| uses: innmind/github-workflows/.github/workflows/cs.yml@next | ||