Skip to content

build: reuse workflows (#1017) #926

build: reuse workflows (#1017)

build: reuse workflows (#1017) #926

Workflow file for this run

name: Build and test
on:
push:
branches: [main, master]
pull_request:
types: [opened, synchronize, reopened]
release:
types: [created]
jobs:
tests:
uses: monicahq/workflows/.github/workflows/laravel.yml@main
with:
php-version: ${{ matrix.php-version }}
connection: ${{ matrix.connection }}
coverage: ${{ matrix.connection == 'sqlite' && matrix.php-version == '8.2' }}
database_name: version
vite: false
strategy:
fail-fast: false
matrix:
php-version: [8.1, 8.2]
connection: [sqlite, mysql]
reporting:
uses: monicahq/workflows/.github/workflows/reporting.yml@main
with:
project: monicahq_marketing_site
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
needs: tests