This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Build & Test #775
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: Build & Test | |
'on': | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
schedule: | |
- cron: 0 16 * * * | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
php: | |
- 5.6 | |
- 7 | |
- 7.1 | |
- 7.2 | |
- 7.3 | |
- 7.4 | |
- 8.0 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '${{ matrix.php }}' | |
coverage: none | |
- name: Install dependencies | |
run: | | |
composer --no-plugins --no-scripts install | |
composer --no-plugins --no-scripts dump-autoload -o | |
vendor/bin/phpunit --configuration ./phpunit.xml --teamcity |