Compare commits
45 Commits
Author | SHA1 | Date |
---|---|---|
Guy Sartorelli | 603ffc064b | |
Guy Sartorelli | 9372698a6b | |
Steve Boyd | 3887540da7 | |
Guy Sartorelli | 635d8be6fc | |
Guy Sartorelli | 036f173a38 | |
Guy Sartorelli | 6b966add42 | |
Guy Sartorelli | 3445801412 | |
Guy Sartorelli | a8f62aab68 | |
Guy Sartorelli | 7264db0e34 | |
Guy Sartorelli | b18c0372f2 | |
Guy Sartorelli | bd202820de | |
Maxime Rainville | 5ce684af70 | |
Steve Boyd | ea654c1c9e | |
Guy Sartorelli | f2f7455177 | |
Guy Sartorelli | f38f39761e | |
Guy Sartorelli | e9fcd38f52 | |
Steve Boyd | 5e497fa85f | |
Guy Sartorelli | 1049f90978 | |
Steve Boyd | 44a3fdb0ea | |
Steve Boyd | f10a0206af | |
Guy Sartorelli | 4886a740ad | |
Steve Boyd | ed70400f9c | |
Guy Sartorelli | 0d52cbc913 | |
Steve Boyd | 62c49cac6d | |
Guy Sartorelli | ce944e8417 | |
Guy Sartorelli | 58ada1c9ed | |
Guy Sartorelli | 07e1b32a53 | |
Guy Sartorelli | 0b89a51c0c | |
Guy Sartorelli | 9c3ffd47c5 | |
Guy Sartorelli | fe1be1b8b7 | |
Guy Sartorelli | 6a500ec454 | |
Steve Boyd | 04f9beecf5 | |
Guy Sartorelli | 7bc208e571 | |
Steve Boyd | 4f62379f58 | |
Steve Boyd | 19c057efee | |
Guy Sartorelli | 8691390ad9 | |
Steve Boyd | 030e0d60fa | |
Steve Boyd | a19303860f | |
Steve Boyd | 4d67d06700 | |
Guy Sartorelli | 56462207b6 | |
Steve Boyd | 5b756664cc | |
Guy Sartorelli | 4219d455d5 | |
Steve Boyd | a8d6ffdeab | |
Guy Sartorelli | 4eea3f390a | |
Steve Boyd | 3a5f852d31 |
|
@ -1,3 +1,4 @@
|
|||
.github export-ignore
|
||||
.cow.json export-ignore
|
||||
.cow export-ignore
|
||||
.gitattributes export-ignore
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: CI
|
||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||
with:
|
||||
# installer contains a sample behat.yml file, though there are no behat tests to run
|
||||
endtoend: false
|
||||
# require the following in ci.yml rather than composer.json require-dev specifically for installer because unlike
|
||||
# regular modules, require-dev will get installed to projects during `composer create-project silverstripe/installer`
|
||||
composer_require_extra: silverstripe/recipe-testing:^2 silverstripe/frameworktest:^0.4.2 mikey179/vfsstream:^1.6.10
|
||||
extra_jobs: |
|
||||
- endtoend: true
|
||||
endtoend_suite: admin
|
||||
endtoend_config: vendor/silverstripe/admin/behat.yml
|
||||
- endtoend: true
|
||||
endtoend_suite: asset-admin
|
||||
endtoend_config: vendor/silverstripe/asset-admin/behat.yml
|
||||
- endtoend: true
|
||||
endtoend_suite: cms
|
||||
endtoend_config: vendor/silverstripe/cms/behat.yml
|
|
@ -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
|
|
@ -0,0 +1,17 @@
|
|||
name: Keepalive
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# The 8th of every month at 4:50pm UTC
|
||||
schedule:
|
||||
- cron: '50 16 8 * *'
|
||||
|
||||
jobs:
|
||||
keepalive:
|
||||
name: Keepalive
|
||||
# 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: Keepalive
|
||||
uses: silverstripe/gha-keepalive@v1
|
82
.travis.yml
82
.travis.yml
|
@ -1,82 +0,0 @@
|
|||
version: ~> 1.0
|
||||
|
||||
import:
|
||||
- silverstripe/silverstripe-travis-shared:config/provision/self.yml
|
||||
|
||||
env:
|
||||
global:
|
||||
- REQUIRE_RECIPE_TESTING="^2"
|
||||
- REQUIRE_FRAMEWORKTEST="^0.4.2"
|
||||
# vfsstream is a dev dependency of the assets module
|
||||
- REQUIRE_EXTRA="mikey179/vfsstream:^1.6.10"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
# Core php tests
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
- PDO=1
|
||||
- COMPOSER_INSTALL_ARG="--prefer-lowest"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="framework"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
- php: 8.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
- php: 8.1.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="core"
|
||||
# admin php tests
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
- PDO=1
|
||||
- COMPOSER_INSTALL_ARG="--prefer-lowest"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
- php: 8.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
- php: 8.1.0
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPUNIT_SUITE="admin"
|
||||
# behat tests
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- BEHAT_TEST=1
|
||||
- BEHAT_SUITE="admin"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- BEHAT_TEST=1
|
||||
- BEHAT_SUITE="cms"
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- BEHAT_TEST=1
|
||||
- BEHAT_SUITE="asset-admin"
|
|
@ -1,6 +1,7 @@
|
|||
## Overview
|
||||
|
||||
[![Build Status](https://api.travis-ci.com/silverstripe/silverstripe-installer.svg?branch=4)](https://travis-ci.com/silverstripe/silverstripe-installer)
|
||||
[![CI](https://github.com/silverstripe/silverstripe-installer/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-installer/actions/workflows/ci.yml)
|
||||
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||
|
||||
Base project folder for a Silverstripe ([http://silverstripe.org](http://silverstripe.org)) installation. Required modules are installed via [http://github.com/silverstripe/recipe-cms](http://github.com/silverstripe/recipe-cms). For information on how to change the dependencies in a recipe, please have a look at [https://github.com/silverstripe/recipe-plugin](https://github.com/silverstripe/recipe-plugin). In addition, installer includes [theme/simple](https://github.com/silverstripe-themes/silverstripe-simple) as a default theme.
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
"require": {
|
||||
"php": "^7.4 || ^8.0",
|
||||
"silverstripe/recipe-plugin": "^1.2",
|
||||
"silverstripe/recipe-cms": "4.11.x-dev",
|
||||
"silverstripe/recipe-cms": "4.x-dev",
|
||||
"silverstripe-themes/simple": "~3.2.0",
|
||||
"silverstripe/login-forms": "4.7.x-dev"
|
||||
"silverstripe/login-forms": "4.x-dev"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.5"
|
||||
|
@ -34,4 +34,4 @@
|
|||
},
|
||||
"prefer-stable": true,
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
PHPUnit configuration for SilverStripe
|
||||
|
||||
|
@ -25,9 +26,13 @@
|
|||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||
</testsuite>
|
||||
|
||||
<!-- framework only -->
|
||||
<testsuite name="framework">
|
||||
<directory>vendor/silverstripe/framework/tests/php/</directory>
|
||||
<!-- Framework ORM tests are split up to run in parallel -->
|
||||
<testsuite name="framework-core">
|
||||
<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>
|
||||
|
||||
<!-- other core components -->
|
||||
|
@ -42,7 +47,11 @@
|
|||
<directory>vendor/silverstripe/asset-admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/campaign-admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/cms/tests/</directory>
|
||||
<directory>vendor/silverstripe/config/tests/</directory>
|
||||
<directory>vendor/silverstripe/errorpage/tests/</directory>
|
||||
<directory>vendor/silverstripe/graphql/tests/</directory>
|
||||
<directory>vendor/silverstripe/login-forms/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/mimevalidator/tests/</directory>
|
||||
<directory>vendor/silverstripe/reports/tests/</directory>
|
||||
<directory>vendor/silverstripe/siteconfig/tests/php/</directory>
|
||||
</testsuite>
|
||||
|
|
Loading…
Reference in New Issue