-
Notifications
You must be signed in to change notification settings - Fork 122
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
[DX-202] Execute all the tests #704
Conversation
So, there are many other bugs. I think this PR attempts to fix the testing part and the build part (build needs to happen before the tests). The Changelog generation connected to the version tasks seems not to work and I'll follow up with a fix in another PR |
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.
I haven't been able to test this locally but it looks good to me,
@@ -29,3 +29,5 @@ src/components/base-component-jade/_package | |||
|
|||
test/fixtures/test.tar.gz | |||
test/fixtures/targz-test | |||
|
|||
logintervals.md |
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.
add newline
please,
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.
done
"patch": "node tasks/version.js --type=\"patch\"", | ||
"major": "npm run version-major && npm run test-silent && npm run git-stage", | ||
"minor": "npm run version-minor && npm run test-silent && npm run git-stage", | ||
"patch": "npm run version-patch && npm run test-silent && npm run git-stage", |
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.
you can also use the native npm version <update_type>
to update version on npm btw
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.
This is a bit different as it updates the oc-client component's version too - so that it matches the oc version.
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
Fixes a bug introduced on #659 - the promise was resolved on the first file, not making all the tests to be correctly executed.