Replace drone with gitea actions
Format and test / 🕵🏻 Test (push) Successful in 23s

This commit is contained in:
Clement Desmidt committed 2026-09-24 15:32:19 +02:00
1 parent 85a79ba252
commit b1995ef5dd
2 files changed
+24 -15

No files matched your search

-15
View File
@@ -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
+24
View File
@@ -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