ldapsaisie/.gitlab-ci.yml
2023-01-02 00:38:47 +00:00

22 lines
453 B
YAML

stages:
- tests
tests:
image:
name: brenard/ldapsaisie:dev
entrypoint: ["/bin/sh", "-c"]
stage: tests
rules:
- changes:
- src/*
script:
- composer install
- service slapd start
- ./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report.xml
artifacts:
when: always
paths:
- tests-report.xml
reports:
junit: tests-report.xml