24 lines
535 B
YAML
Raw Normal View History

2022-08-01 15:48:26 +12:00
name: CI
on:
push:
pull_request:
workflow_dispatch:
# Every Sunday at 3:00pm UTC
schedule:
- cron: '0 15 * * 0'
jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2023-02-17 19:30:02 +13:00
uses: maxime-rainville/gha-ci/.github/workflows/ci.yml@1
2023-02-17 19:32:50 +13:00
with:
2023-02-17 19:34:59 +13:00
phpunit: false
2023-02-17 19:32:50 +13:00
preserve_vendor_test: true
extra_jobs: |
- php: 8.1
2023-02-17 19:34:59 +13:00
db: sqlite3
2023-02-17 19:32:50 +13:00
phpunit: true