build on multiple versions of PHP #6
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: | |
php_version: [8.1, 8.2, 8.3] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- 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 }} |