Skip to content
Snippets Groups Projects
Verified Commit 214ee0c8 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: lint not failing, when it supposed to

parent f58928ed
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,10 @@
stage: tests
before_script:
- composer config gitlab-token.gitlab.wpdesk.dev gitlab-ci-token ${CI_JOB_TOKEN}
script:
- composer install --no-dev
- rm auth.json
- find -name '*.php' -print0 |xargs -n1 -0 -P16 php -l |grep -v "No syntax errors detected" || exit 0
script:
- find -name '*.php' -print0 |xargs -n1 -0 -P16 php -l |grep -v "No syntax errors detected" && exit 1
lint:8.2:
<<: *lint-tmpl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment