Skip to content

Next major release #195

Next major release

Next major release #195

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "innmind/github-workflows/.github/workflows/psalm-matrix.yml@next" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
cs:
uses: innmind/github-workflows/.github/workflows/cs.yml@next