Skip to content

chore(ci): use composer tasks #245

chore(ci): use composer tasks

chore(ci): use composer tasks #245

Workflow file for this run

name: Run CI
on: [pull_request]
jobs:
build:
name: CI
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.2']
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: composer install --prefer-dist --classmap-authoritative
- name: Check code style
run: composer run style-check -- -q --report=checkstyle | ./vendor/bin/cs2pr
- name: Run unit tests
run: composer run test-unit
- name: Run mutation tests
run: |
composer run test-unit -- --coverage-xml cov --log-junit=cov/result.junit.xml
composer run test-mutation -- --coverage=cov
env:
XDEBUG_MODE=coverage

Check failure on line 31 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Run CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 31, Col: 9): Unexpected value 'XDEBUG_MODE=coverage'
- name: Check dependency usage
run: composer run composer-check