mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-09-30 05:09:10 +02:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
603ffc064b | ||
|
9372698a6b | ||
|
3887540da7 | ||
|
635d8be6fc | ||
|
036f173a38 | ||
|
6b966add42 | ||
|
3445801412 | ||
|
a8f62aab68 | ||
|
5ce684af70 | ||
|
ea654c1c9e |
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -4,15 +4,10 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# Every day at 4:00pm UTC
|
|
||||||
schedule:
|
|
||||||
- cron: '0 16 * * *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: 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
|
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||||
with:
|
with:
|
||||||
# installer contains a sample behat.yml file, though there are no behat tests to run
|
# installer contains a sample behat.yml file, though there are no behat tests to run
|
||||||
|
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Dispatch CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
# At 4:00 PM and 5:00 PM
|
||||||
|
schedule:
|
||||||
|
- cron: '0 16,17 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dispatch-ci:
|
||||||
|
name: Dispatch CI
|
||||||
|
# Only run cron on the silverstripe account
|
||||||
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Dispatch CI
|
||||||
|
uses: silverstripe/gha-dispatch-ci@v1
|
@ -5,9 +5,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^7.4 || ^8.0",
|
||||||
"silverstripe/recipe-plugin": "^1.2",
|
"silverstripe/recipe-plugin": "^1.2",
|
||||||
"silverstripe/recipe-cms": "~4.13.0@stable",
|
"silverstripe/recipe-cms": "4.x-dev",
|
||||||
"silverstripe-themes/simple": "~3.2.0",
|
"silverstripe-themes/simple": "~3.2.0",
|
||||||
"silverstripe/login-forms": "~4.9.0@stable"
|
"silverstripe/login-forms": "4.x-dev"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5"
|
"phpunit/phpunit": "^9.5"
|
||||||
|
@ -26,9 +26,13 @@
|
|||||||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<!-- framework only -->
|
<!-- Framework ORM tests are split up to run in parallel -->
|
||||||
<testsuite name="framework">
|
<testsuite name="framework-core">
|
||||||
<directory>vendor/silverstripe/framework/tests/php/</directory>
|
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||||
|
<exclude>vendor/silverstripe/framework/tests/php/ORM</exclude>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="framework-orm">
|
||||||
|
<directory>vendor/silverstripe/framework/tests/php/ORM</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<!-- other core components -->
|
<!-- other core components -->
|
||||||
|
Loading…
Reference in New Issue
Block a user