Skip to content

2024

2024 #11

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
tests:
name: "Tests"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
php-version: "8.1"
ini-file: development
tools: composer:v2
- name: Docker compose up
run: docker-compose up -d
- name: Install dependencies
run: composer install --no-interaction --no-progress --no-suggest
- name: Run tests
run: vendor/bin/pest
static_analysis:
name: Static analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
php-version: "8.1"
ini-file: development
- name: Install dependencies
run: composer install --no-interaction --no-progress --no-suggest
- name: Run phpstan
run: vendor/bin/phpstan analyse --ansi --no-progress