Merge 684afcff66
into 1a87b18e71
This commit is contained in:
commit
f45629eb34
|
@ -13,4 +13,14 @@ jobs:
|
|||
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: maxime-rainville/gha-ci/.github/workflows/ci.yml@1
|
||||
with:
|
||||
phpunit: false
|
||||
preserve_vendor_test: true
|
||||
extra_jobs: |
|
||||
- php: 8.1
|
||||
db: sqlite3
|
||||
phpunit: true
|
||||
- php: 8.1
|
||||
db: mssql
|
||||
phpunit: true
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
],
|
||||
"require": {
|
||||
"silverstripe/framework": "~4.0",
|
||||
"silverstripe/vendor-plugin": "^1.0"
|
||||
"silverstripe/vendor-plugin": "^1.0",
|
||||
"phpunit/phpunit": "^9.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"squizlabs/php_codesniffer": "^3"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
|
||||
<testsuites>
|
||||
<testsuite name="Default">
|
||||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
Loading…
Reference in New Issue