CI #227
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: | |
workflow_dispatch: | |
# Every Thursday at 12:20pm UTC | |
schedule: | |
- cron: '20 12 * * 4' | |
jobs: | |
ci: | |
name: CI | |
# Only run cron on the silverstripe account | |
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') | |
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 | |
with: | |
# set phpunit to false to prevent automatic generation of mysql phpunit jobs | |
phpunit: false | |
extra_jobs: | | |
- php: 7.4 | |
db: pgsql | |
phpunit: true | |
composer_args: --prefer-lowest | |
- php: 8.0 | |
db: pgsql | |
phpunit: true | |
- php: 8.1 | |
db: pgsql | |
phpunit: true |