-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add tests for the starter pack #261
Add tests for the starter pack #261
Conversation
057a229
to
dbd578b
Compare
f59484b
to
dc6dc3c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Minor suggestion below.
@@ -0,0 +1,64 @@ | |||
name: Test starter pack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Add a comment to indicate this is intended just for testing the starter pack itself.
I believe a lot of teams clone the starter pack instead of using the init script, so this might help to prevent them from running these checks unnecessarily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense - but if teams keep cloning the starter pack in the future, they will be in a lot of trouble, so we should REALLY tell them not to do this.
Signed-off-by: Ruth Fuchss <[email protected]>
Signed-off-by: Ruth Fuchss <[email protected]>
dc6dc3c
to
2a46c1f
Compare
Signed-off-by: Ruth Fuchss <[email protected]>
update to cover the vocab rules
Needed to work around canonical/canonical-sphinx#34 Signed-off-by: Ruth Fuchss <[email protected]>
Add some files that we can use to test the functionality. Signed-off-by: Ruth Fuchss <[email protected]>
2a46c1f
to
679b2ed
Compare
Expected to fail now since it's pulling the init script from |
27312b4
into
canonical:use-canonical-sphinx-extension
This PR adds a general test for the init script, running it both with "." and with "docs" as installation folder and making sure that both the build and the checks run without errors.
In addition, it adds some test files that we can use to test the starter pack functionality. For now, I've only included related links and Discourse links, mainly to show how these tests can be implemented.