Skip to content

chore(ci): fix config #28

chore(ci): fix config

chore(ci): fix config #28

Workflow file for this run

name: Continous integration
on:
pull_request:
types: [opened, reopened]
push:
branches:
- '**'
- '!master'
jobs:
code_checks:
name: Check code style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install dependencies
run: composer install
- name: Test code style
run: vendor/bin/ecs
- name: Static analysis (Psalm)
run: vendor/bin/psalm
- name: Build test help files
run: vendor/bin/codecept build
- name: Static analysis (PHPStan)
run: vendor/bin/phpstan
- name: Run tests
run: vendor/bin/codecept run --coverage-xml
commitlint:
name: commit-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
with:
configFile: ../../commitlint.config.js