mirror of
https://github.com/Chouchen/Shikiryu_Backup.git
synced 2026-09-24 16:03:54 +02:00
This commit is contained in:
1 parent
85a79ba252
commit
b1995ef5dd
2 files changed
+24
-15
No files matched your search
-15
@@ -1,15 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: install
|
|
||||||
pull: if-not-exists
|
|
||||||
image: composer
|
|
||||||
commands:
|
|
||||||
- composer install --ignore-platform-reqs
|
|
||||||
- name: test
|
|
||||||
image: php:7
|
|
||||||
commands:
|
|
||||||
- vendor/bin/phpmd app text phpmd.xml
|
|
||||||
- vendor/bin/phpcs --standard=PSR2 app
|
|
||||||
- vendor/bin/phpcpd app
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
name: Format and test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: 🕵🏻 Test
|
||||||
|
runs-on: linux
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Composer
|
||||||
|
uses: php-actions/composer@v6
|
||||||
|
with:
|
||||||
|
args: --ignore-platform-reqs
|
||||||
|
|
||||||
|
- name: PHPMD, PHPCS & PHPCPD
|
||||||
|
run: |
|
||||||
|
vendor/bin/phpmd app text phpmd.xml
|
||||||
|
vendor/bin/phpcs --standard=PSR2 app
|
||||||
|
vendor/bin/phpcpd app
|
||||||
Reference in new issue
Block a user