Skip to content

Lint and tests workflow (#8) #5

Lint and tests workflow (#8)

Lint and tests workflow (#8) #5

Workflow file for this run

name: "Tests"
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
coding-standards:
runs-on: ubuntu-24.04
strategy:
fail-fast: true
matrix:
php: [8.4]
name: Run Tests (PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install Composer dependencies
run: |
composer install --prefer-dist --no-interaction
- name: Run Pint
run: composer run lint -- --test -v
- name: Run unit tests
run: composer run tests:unit -- --stop-on-failure --stop-on-error
- name: Run integration tests
run: composer run tests:integration -- --stop-on-failure --stop-on-error