package-skeleton/.forgejo/workflows/test.yaml

29 lines
758 B
YAML

name: Test
on:
push:
branches:
- '*'
jobs:
test_all:
runs-on: ubuntu-22.04
container: git.gertjankrol.nl/docker/php-toolkit:latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: composer install
run: composer install --profile
- name: phpunit
run: composer unit
- name: phplint
run: composer lint
- name: phpcs
run: composer style
- name: composer require check
run: composer require-check
- name: composer security check
run: composer security-check
- name: composer unused package check
run: composer unused-check
- name: composer normalize check
run: composer normalize --dry-run