Test workflow added
This commit is contained in:
parent
4a17f31e55
commit
d9cc15fdc2
30
.gitea/workflows/run-full-tests.yaml
Normal file
30
.gitea/workflows/run-full-tests.yaml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
name: Run code tests
|
||||||
|
run-name: Run code tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Run-code-test:
|
||||||
|
container:
|
||||||
|
image: "ch1c0ry/php8-cli-actrunner:latest"
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Composer dependencies
|
||||||
|
uses: "https://github.com/ramsey/composer-install@v3"
|
||||||
|
with:
|
||||||
|
composer-options: "--optimize-autoloader"
|
||||||
|
|
||||||
|
- name: Check code style
|
||||||
|
run: |
|
||||||
|
composer run code-style-check
|
||||||
|
|
||||||
|
- name: Run analyzer
|
||||||
|
run: |
|
||||||
|
composer run analyze-code
|
||||||
|
|
||||||
|
- name: Run unit tests
|
||||||
|
run: |
|
||||||
|
composer run run-unit-tests
|
Loading…
Reference in New Issue
Block a user