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

[DX-202] Execute all the tests #704

Merged
merged 5 commits into from
Oct 10, 2017
Merged

[DX-202] Execute all the tests #704

merged 5 commits into from
Oct 10, 2017

Conversation

matteofigus
Copy link
Member

Fixes a bug introduced on #659 - the promise was resolved on the first file, not making all the tests to be correctly executed.

@matteofigus
Copy link
Member Author

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

Copy link
Member

@mattiaerre mattiaerre left a 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
Copy link
Member

Choose a reason for hiding this comment

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

add newline please,

Copy link
Member Author

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",
Copy link
Member

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

Copy link
Member Author

@matteofigus matteofigus Oct 9, 2017

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.

@matteofigus matteofigus changed the title Execute all the tests [DX-202] Execute all the tests Oct 10, 2017
Copy link
Contributor

@nickbalestra nickbalestra left a comment

Choose a reason for hiding this comment

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

LGTM

@matteofigus matteofigus merged commit e3f2727 into master Oct 10, 2017
@matteofigus matteofigus deleted the execute-all-tests branch October 10, 2017 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants