Skip to content

build: use one common workflow #839

build: use one common workflow

build: use one common workflow #839

Workflow file for this run

name: Build and test
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
release:
types: [created]
env:
default-php-version: '8.2'
coverage-with: 'sqlite'
concurrency:
group: Build ${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Run tests
uses: monicahq/workflows/.github/workflows/laravel.yml@main
with:
php-versions: "['8.2']"
connections: "['sqlite', 'mysql', 'pgsql']"
default-php-version: '8.2'
default-connection: sqlite
project: monicahq_customers
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}