silverstripe-postgresql/.github/workflows/ci.yml

36 lines
875 B
YAML

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
preserve_vendor_tests: true
extra_jobs: |
- php: 8.1
db: pgsql
phpunit: true
composer_args: --prefer-lowest
phpunit_suite: all
- php: 8.1
db: pgsql
phpunit: true
phpunit_suite: all
- php: 8.2
db: pgsql
phpunit: true
phpunit_suite: all