Skip to content
Snippets Groups Projects
Commit 269e8bfc authored by Jonathan Smith's avatar Jonathan Smith
Browse files

Issue #3515487 by jonathan1055, fjgarlin: Skipped tests should fail job. Use...

Issue #3515487 by jonathan1055, fjgarlin: Skipped tests should fail job. Use _PHPUNIT_CONCURRENT=1 for Max PHP variant
parent 7fcddf68
No related branches found
No related tags found
1 merge request!15#3515487 Skipped tests should fail the job
Pipeline #485793 failed
......@@ -94,6 +94,12 @@ phpunit:
sed -i "s#assertTrue(TRUE#assertTrue(FALSE#g" tests/src/Functional/GitlabTemplatesDownstreamOneTest.php
cat tests/src/Functional/GitlabTemplatesDownstreamOneTest.php
fi
# Add --fail-on-skipped when running phpunit directly.
- if [[ $_PHPUNIT_CONCURRENT == 0 ]]; then _PHPUNIT_EXTRA="$_PHPUNIT_EXTRA --fail-on-skipped"; fi
phpunit (max PHP version):
variables:
_PHPUNIT_CONCURRENT: 1
nightwatch:
before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment