MNT Add back GitHub action CI

This commit is contained in:
Maxime Rainville 2023-02-17 19:30:02 +13:00
parent 1a87b18e71
commit a32ac9da88
2 changed files with 13 additions and 1 deletions

View File

@ -13,4 +13,8 @@ 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
extra_jobs: |
- php: 8.1
db: pgsql
phpunit: true

8
phpunit.xml.dist Normal file
View File

@ -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>