Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(ci) use no phpunit filter instead of matchall filter as default
Browse files Browse the repository at this point in the history
Change-Id: I9b5111a4e621c43428d433f175a6107649e41f45
Reviewed-on: http://gerrit.tine20.com/customers/17347
Tested-by: Milan Mertens <m.mertens@metaways.de>
Reviewed-by: Milan Mertens <m.mertens@metaways.de>
  • Loading branch information
byteplow committed Jul 22, 2020
1 parent e68529c commit b8feab0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ workflow:
- when: never
script:
- cd $TINE20ROOT/tests/tine20/
- php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --exclude-group longrunning,needsbuild,nogitlabci --filter "${PHPUNIT_FILTER}" AllServerTests
- if test -z "${PHPUNIT_FILTER}"; then php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --exclude-group longrunning,needsbuild,nogitlabci AllServerTests; else php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --filter "${PHPUNIT_FILTER}" --exclude-group longrunning,needsbuild,nogitlabci AllServerTests; fi
artifacts:
paths:
- tine20.log
Expand Down Expand Up @@ -165,7 +165,7 @@ workflow:
- when: never
script:
- cd $TINE20ROOT/tests/tine20/
- php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --group nogitlabci --filter "${PHPUNIT_FILTER}" AllTests
- if test -z "${PHPUNIT_FILTER}"; then php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --group nogitlabci AllTests; else php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --group nogitlabci --filter "${PHPUNIT_FILTER}" AllTests; fi
artifacts:
paths:
- tine20.log
Expand All @@ -181,7 +181,7 @@ workflow:
name: "$REGISTRY/test-built-commit:$CI_PIPELINE_ID-$PHP_IMAGE_TAG"
script:
- cd $TINE20ROOT/tests/tine20/
- php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --exclude-group longrunning,needsbuild,nogitlabci_ldap --filter "${PHPUNIT_FILTER}" AllTests
- if test -z "${PHPUNIT_FILTER}"; then php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --exclude-group longrunning,needsbuild,nogitlabci_ldap AllTests; else php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --filter "${PHPUNIT_FILTER}" --exclude-group longrunning,needsbuild,nogitlabci_ldap AllTests; fi
artifacts:
paths:
- tine20.log
Expand Down
2 changes: 1 addition & 1 deletion ci/abstract_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
- supervisord
script:
- cd $TINE20ROOT/tests/tine20/
- php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --exclude-group longrunning,needsbuild,nogitlabci --filter "${PHPUNIT_FILTER}" AllTests
- if test -z "${PHPUNIT_FILTER}"; then php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --exclude-group longrunning,needsbuild,nogitlabci AllTests; else php $TINE20ROOT/tine20/vendor/bin/phpunit --color --debug --filter "${PHPUNIT_FILTER}" --exclude-group longrunning,needsbuild,nogitlabci AllTests; fi
artifacts:
paths:
- tine20.log
Expand Down
2 changes: 1 addition & 1 deletion ci/ci-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ variables:
NO_PUSH: "false"
CUSTOM_APP_VENDOR: "metaways"
CUSTOM_APP_VERSION: "dev-master"
PHPUNIT_FILTER: ".*"
PHPUNIT_FILTER: ""

0 comments on commit b8feab0

Please sign in to comment.