Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Fixed permissions issues with GitLab CI runner #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions build/scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ docker-compose run --rm php climb || EXIT_CODE=1

# PHP source
docker-compose run --rm php vendor/bin/php-cs-fixer fix --format=txt -v --dry-run src || EXIT_CODE=1
docker run --rm -v "${PWD}:/project" jolicode/phaudit phpcpd src/
mkdir -p -m 777 "${PWD}/tests/_lint"
docker run --rm -v "${PWD}:/project" jolicode/phaudit phpmetrics --report-html=tests/_lint/metrics.html src/
docker run --rm -v "${PWD}:/project" jolicode/phaudit phpcpd src/ > tests/_lint/cpd.txt
docker run --rm -v "${PWD}:/project" jolicode/phaudit phploc src/ > tests/_lint/loc.txt
docker run --rm -v "${PWD}:/project" jolicode/phaudit phpmd src html cleancode,codesize,controversial,design,naming,unusedcode > tests/_lint/mess.html
docker run --rm -v "${PWD}:/project" jolicode/phaudit phpmetrics --report-html=tests/_lint/metrics.html src/

set +v

exit ${EXIT_CODE}
exit ${EXIT_CODE}
1 change: 1 addition & 0 deletions build/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set -v

set +e

mkdir -p -m 777 "${PWD}/tests/codeception/_output/debug"
make TEST run-tests codecept_opts='functional,unit,cli,acceptance -g mandatory --html=_report_mandatory.html' || EXIT_CODE=1

exit ${EXIT_CODE}