diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..9d41530
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,16 @@
+name: CI
+
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+ # Every day at 3:00pm UTC
+ schedule:
+ - cron: '0 15 * * *'
+
+jobs:
+ ci:
+ name: CI
+ # Only run cron on the silverstripe account
+ if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
+ uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml
new file mode 100644
index 0000000..5677ec4
--- /dev/null
+++ b/.github/workflows/keepalive.yml
@@ -0,0 +1,17 @@
+name: Keepalive
+
+on:
+ workflow_dispatch:
+ # The 1st of every month at 3:50pm UTC
+ schedule:
+ - cron: '50 15 1 * *'
+
+jobs:
+ keepalive:
+ name: Keepalive
+ # Only run cron on the silverstripe account
+ if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
+ runs-on: ubuntu-latest
+ steps:
+ - name: Keepalive
+ uses: silverstripe/gha-keepalive@v1
diff --git a/README.md b/README.md
index 840053d..38b5eb9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
## Silverstripe CMS kitchen sink recipe
-[![Build Status](https://app.travis-ci.com/silverstripe/recipe-kitchen-sink.svg?branch=4)](https://travis-ci.com/silverstripe/recipe-kitchen-sink)
+[![CI](https://github.com/silverstripe/recipe-kitchen-sink/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/recipe-kitchen-sink/actions/workflows/ci.yml)
The kitchen sink is an internal recipe used for testing the full Silverstripe CMS feature sets,
including optional and suggested modules.
diff --git a/composer.json b/composer.json
index fa92531..e290219 100644
--- a/composer.json
+++ b/composer.json
@@ -43,7 +43,7 @@
"tractorcow/silverstripe-fluent": "4.6.x-dev"
},
"require-dev": {
- "silverstripe/frameworktest": "4.x-dev",
+ "silverstripe/frameworktest": "^0.4.5",
"silverstripe/graphql-devtools": "1.x-dev",
"silverstripe/recipe-testing": "^2",
"mikey179/vfsstream": "^1.6"
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index cea6532..3bd98ff 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -47,25 +47,14 @@
vendor/tractorcow/silverstripe-fluent/tests
-
-
+
vendor/cwp/cwp-core/tests
vendor/silverstripe/auditor/tests
vendor/silverstripe/environmentcheck/tests
vendor/silverstripe/hybridsessions/tests
- vendor/silverstripe/mimevalidator/tests
-
- vendor/cwp/cwp-core/tests
- vendor/cwp/cwp/tests
- vendor/cwp/cwp-pdfexport/tests
- vendor/silverstripe/html5/tests
- vendor/symbiote/silverstripe-gridfieldextensions/tests
-
-
-
- vendor/cwp/cwp
+
vendor/cwp/cwp-search/tests
vendor/silverstripe/fulltextsearch/tests
vendor/symbiote/silverstripe-queuedjobs/tests
@@ -137,5 +126,6 @@
vendor/silverstripe/login-forms/tests
vendor/silverstripe/security-extensions/tests
+