Skip to content

no idea what this did or why, there's no explanation in the docs for … #8

no idea what this did or why, there's no explanation in the docs for …

no idea what this did or why, there's no explanation in the docs for … #8

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php_version: 8.1
- php_version: 8.2
- php_version: 8.3
code_coverage: upload
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 2 # Required by Scrutinizer (Ocular)
- name: Set up Docker Compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Run tests
run: ./test.sh ${{ matrix.php_version }} ${{ matrix.code_coverage }}
- name: Upload Scrutinizer coverage
uses: sudo-bot/action-scrutinizer@latest
if: github.repository == 'mindplay-dk/sql' && matrix.code_coverage == 'upload'
with:
cli-args: "--format=php-clover test/build/clover.xml"