PHP forward compatibility #107
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: "PHP forward compatibility" | |
on: | |
schedule: | |
# Execute weekly checks | |
- cron: "0 14 * * 1" | |
jobs: | |
qa: | |
continue-on-error: true | |
name: Unit tests | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.1" | |
tools: "composer:v2" | |
env: | |
update: true | |
- name: Install dependencies | |
uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: "latest" | |
composer-options: "--ignore-platform-req=php" | |
- name: Run unit tests | |
run: "vendor/bin/phpunit" |