Skip to content

Add orchestration tests #678

Add orchestration tests

Add orchestration tests #678

Workflow file for this run

name: QIT CLI Code tests
on:
workflow_call:
push:
paths:
- 'src/**.php'
jobs:
code_tests:
name: Code tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v3
id: cache-composer
with:
path: src/vendor
key: ${{ runner.os }}-${{ hashFiles('src/composer.lock') }}
- name: Composer install
if: steps.cache-composer.outputs.cache-hit != 'true'
working-directory: src
run: composer install
- name: Run PHPCS
run: make phpcs
- name: Run PHPStan
run: make phpstan
- name: Run Phan
run: make phan
- name: Run PHPUnit
run: make phpunit