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

Make sure npm test script gets run on AppVeyor #372

Merged
merged 1 commit into from
Jun 2, 2016

Conversation

astorije
Copy link
Member

@astorije astorije commented Jun 1, 2016

Yes, this duplicates tests, but the whole point (at least for now) of AppVeyor for us is to make sure we do not break the dev environment, npm install, npm run build and npm test.

The source of truth is still Travis CI, so if the output on AppVeyor is less digestible, it's not too much of a big deal.

In terms of speed, npm test is a few seconds long, very much negligible compared to the 5-to-15-minute latency it takes for AppVeyor to wake up.

@astorije astorije added Type: Feature Tickets that describe a desired feature or PRs that add them to the project. Type: Documentation Lack of documentation, improvement suggestion, or PRs that address these. second review needed labels Jun 1, 2016
@xPaw
Copy link
Member

xPaw commented Jun 1, 2016

npm test doesn't return the exit code, so we won't know if it fails on appveyor without opening the page and looking at the log.

@astorije
Copy link
Member Author

astorije commented Jun 1, 2016

Yes, but that's OK, because the 3 statements after would catch that. That first line is to make sure we never break npm test itself, like we did when we used ; or an environment variable in there.

@maxpoulin64
Copy link
Member

Fine by me, even if kind of ugly. At least until we move this into a real script instead.

@maxpoulin64 maxpoulin64 merged commit 2e967e8 into master Jun 2, 2016
@maxpoulin64 maxpoulin64 deleted the astorije/npm-test-appveyor branch June 2, 2016 23:30
@xPaw xPaw added this to the 2.0.0 milestone Jun 5, 2016
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…veyor

Make sure npm test script gets run on AppVeyor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Lack of documentation, improvement suggestion, or PRs that address these. Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants