mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
MNT Standardise modules
This commit is contained in:
parent
faf9d033ff
commit
41fd4718a2
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
ci:
|
ci:
|
||||||
name: CI
|
name: CI
|
||||||
# Only run cron on the silverstripe account
|
# Only run cron on the silverstripe account
|
||||||
if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
|
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:
|
||||||
# set phpunit to false to prevent automatic generation of mysql phpunit jobs
|
# set phpunit to false to prevent automatic generation of mysql phpunit jobs
|
||||||
|
2
.github/workflows/keepalive.yml
vendored
2
.github/workflows/keepalive.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
keepalive:
|
keepalive:
|
||||||
name: Keepalive
|
name: Keepalive
|
||||||
# Only run cron on the silverstripe account
|
# Only run cron on the silverstripe account
|
||||||
if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Keepalive
|
- name: Keepalive
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
inherit: true
|
|
||||||
|
|
||||||
build:
|
|
||||||
nodes:
|
|
||||||
analysis:
|
|
||||||
tests:
|
|
||||||
override: [php-scrutinizer-run]
|
|
||||||
|
|
||||||
checks:
|
|
||||||
php:
|
|
||||||
code_rating: true
|
|
||||||
duplication: true
|
|
||||||
|
|
||||||
filter:
|
|
||||||
paths: [code/*, tests/*]
|
|
38
.travis.yml
38
.travis.yml
@ -1,38 +0,0 @@
|
|||||||
version: ~> 1.0
|
|
||||||
|
|
||||||
import:
|
|
||||||
- silverstripe/silverstripe-travis-shared:config/provision/standard.yml
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- DB=PGSQL
|
|
||||||
|
|
||||||
# Using a custom jobs matrix as every DB=PGSQL and there is alternating PHPUNIT_SUITE's
|
|
||||||
jobs:
|
|
||||||
fast_finish: true
|
|
||||||
include:
|
|
||||||
- php: 7.3
|
|
||||||
env:
|
|
||||||
- REQUIRE_INSTALLER="4.10.x-dev"
|
|
||||||
- PHPUNIT_COVERAGE_TEST=1
|
|
||||||
- PHPUNIT_SUITE="framework"
|
|
||||||
- php: 7.4
|
|
||||||
env:
|
|
||||||
- REQUIRE_INSTALLER="4.11.x-dev"
|
|
||||||
- PHPUNIT_TEST=1
|
|
||||||
- PHPUNIT_SUITE="postgresql"
|
|
||||||
- php: 7.4
|
|
||||||
env:
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- PHPUNIT_TEST=1
|
|
||||||
- PHPUNIT_SUITE="framework"
|
|
||||||
- php: 8.0
|
|
||||||
env:
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- PHPUNIT_TEST=1
|
|
||||||
- PHPUNIT_SUITE="postgresql"
|
|
||||||
- php: 8.1
|
|
||||||
env:
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- PHPUNIT_TEST=1
|
|
||||||
- PHPUNIT_SUITE="framework"
|
|
@ -1,7 +1,7 @@
|
|||||||
# PostgreSQL Module Module
|
# PostgreSQL Module Module
|
||||||
|
|
||||||
[![CI](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml)
|
[![CI](https://github.com/silverstripe/silverstripe-postgresql/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-postgresql/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/)
|
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||||
|
|
||||||
## Maintainer Contact
|
## Maintainer Contact
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* SilverStripe 4.0
|
* Silverstripe 4.0
|
||||||
* PostgreSQL >=9.2
|
* PostgreSQL >=9.2
|
||||||
* Note: PostgreSQL 10 has not been tested
|
* Note: PostgreSQL 10 has not been tested
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
|
<phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
|
||||||
|
|
||||||
<testsuite name="Default">
|
<testsuite name="Default">
|
||||||
|
Loading…
Reference in New Issue
Block a user