Update integrate.yaml (#18) #40
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: "Integrate" | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: null | |
jobs: | |
tests: | |
name: "Tests" | |
strategy: | |
matrix: | |
php-version: | |
- "7.4" | |
- "8.0" | |
# 20.04 has PHP 7.4 and 8.0 | |
runs-on: "ubuntu-20.04" | |
steps: | |
- | |
name: "Set default PHP version" | |
run: "sudo update-alternatives --set php /usr/bin/php${{ matrix.php-version }}" | |
- | |
name: "Checkout repository" | |
uses: "actions/checkout@v4" | |
- | |
name: "Install dependencies" | |
run: "composer update --no-interaction" | |
- | |
name: "Execute tests" | |
run: "composer run test --no-interaction" |