2023-05-28 20:49:45 +00:00
|
|
|
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
|
2023-05-29 20:21:57 +00:00
|
|
|
run: composer unused-check
|
|
|
|
- name: composer normalize check
|
2023-05-29 20:22:53 +00:00
|
|
|
run: composer normalize --dry-run
|