Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run UI tests of submodules with core build if possible #15844

Merged
merged 2 commits into from Apr 27, 2020
Merged

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Apr 22, 2020

Note: Some plugins have special needs in travis setup. Those might not be runable with core build, as they might fail. This currently affects LoginLdap & TagManager

fixes #9253

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Apr 22, 2020
@sgiehl sgiehl added this to the 4.0.0 milestone Apr 22, 2020
// if the plugin is a .git checkout, it's not part of core
var gitDir = path.join(pathToPlugin, '.git');
// skip plugins that have special needs in core build
var gitDir = path.join(pathToPlugin, 'tests/travis');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable & function name could be changed to be more accurate

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think this method is for running the tests locally so modifying it might affect test running locally w/ git checkouts of pro plugins, eg.

@diosmosis diosmosis merged commit 60b5c52 into 4.x-dev Apr 27, 2020
@diosmosis diosmosis deleted the submoduleui branch April 27, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI tests on Travis do not execute UI tests of submodules
2 participants