mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MNT Standardise modules
This commit is contained in:
parent
a82a924906
commit
cc601bb942
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -12,5 +12,5 @@ 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
|
||||||
|
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/*]
|
|
40
.travis.yml
40
.travis.yml
@ -1,40 +0,0 @@
|
|||||||
version: ~> 1.0
|
|
||||||
|
|
||||||
# Use a manual matrix as composer.json requires "silverstripe/cms": "^4.6",
|
|
||||||
# This should be changed to "standard-jobs-range-npm" as soon as the lowest recipe
|
|
||||||
# version in the travis shared jobs matrix is 4.6
|
|
||||||
import:
|
|
||||||
- silverstripe/silverstripe-travis-shared:config/provision/standard.yml
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
- php: 7.4
|
|
||||||
env:
|
|
||||||
- DB=MYSQL
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- NPM_TEST=1
|
|
||||||
- php: 7.4
|
|
||||||
env:
|
|
||||||
- DB=PGSQL
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- PHPUNIT_TEST=1
|
|
||||||
- PHPCS_TEST=1
|
|
||||||
- php: 7.4
|
|
||||||
env:
|
|
||||||
- DB=MYSQL
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- PHPUNIT_COVERAGE_TEST=1
|
|
||||||
- php: 8.0
|
|
||||||
env:
|
|
||||||
- DB=MYSQL
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- BEHAT_TEST=1
|
|
||||||
- BEHAT_SUITE="userforms"
|
|
||||||
- php: 8.1.0
|
|
||||||
env:
|
|
||||||
- DB=MYSQL
|
|
||||||
- REQUIRE_INSTALLER="4.x-dev"
|
|
||||||
- PHPUNIT_TEST=1
|
|
||||||
allow_failures:
|
|
||||||
- php: 8.1.0
|
|
||||||
|
|
@ -1,15 +1,11 @@
|
|||||||
# UserForms
|
# UserForms
|
||||||
|
|
||||||
|
[![CI](https://github.com/silverstripe/silverstripe-userforms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-userforms/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/)
|
||||||
|
|
||||||
UserForms enables CMS users to create dynamic forms via a drag and drop interface
|
UserForms enables CMS users to create dynamic forms via a drag and drop interface
|
||||||
and without getting involved in any PHP code.
|
and without getting involved in any PHP code.
|
||||||
|
|
||||||
[![CI](https://github.com/silverstripe/silverstripe-userforms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-userforms/actions/workflows/ci.yml)
|
|
||||||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/silverstripe/silverstripe-userforms/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/silverstripe/silverstripe-userforms/?branch=master)
|
|
||||||
[![codecov](https://codecov.io/gh/silverstripe/silverstripe-userforms/branch/master/graph/badge.svg)](https://codecov.io/gh/silverstripe/silverstripe-userforms)
|
|
||||||
[![SilverStripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
|
||||||
[![Version](http://img.shields.io/packagist/v/silverstripe/userforms.svg?style=flat)](https://packagist.org/packages/silverstripe/silverstripe-userforms)
|
|
||||||
[![License](http://img.shields.io/packagist/l/silverstripe/userforms.svg?style=flat)](LICENSE.md)
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
See the "require" section of [composer.json](https://github.com/silverstripe/silverstripe-userforms/blob/master/composer.json)
|
See the "require" section of [composer.json](https://github.com/silverstripe/silverstripe-userforms/blob/master/composer.json)
|
@ -1,3 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
|
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Default">
|
<testsuite name="Default">
|
||||||
|
Loading…
Reference in New Issue
Block a user