explicit nullable types: fix deprecation notices in PHP 8.4 #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |
- 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" |