Skip to content

GraphQL Schema Diff Command #137

GraphQL Schema Diff Command

GraphQL Schema Diff Command #137

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request: ~
jobs:
build-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- uses: thenabeel/action-phpcs@v8
with:
phpcs_path: php ./vendor/bin/phpcs
standard: phpcs.xml
build-test:
strategy:
matrix:
version: [8.1, 8.2, 8.3]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- uses: php-actions/phpunit@v3
with:
php_version: ${{matrix.version}}
version: 10
args: "--no-coverage"
build-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6
- uses: php-actions/phpunit@v3
with:
php_extensions: xdebug
coverage_cobertura: "coverage.xml"
version: 10
env:
XDEBUG_MODE: coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}