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

[FIXED] travis test not failing when module test fails #1550

Merged
merged 11 commits into from Jan 21, 2020

Conversation

root00198
Copy link
Member

@root00198 root00198 commented Jan 21, 2020

So, I tried to fix the issue when travis-ci-test shows, green tick even though the module test failed.

In order to fix this issue, I tried to create a test repo and setup travis in that.
Below are two travis build result, one passed and one failed. The only difference between those two builds is that, insted of putting all the test in one line, I mentioned them on seperate lines, and then asked travis to execute all the commands one-by-one.

https://travis-ci.org/root00198/travis-test/builds/640046449 <<- BUILD THAT PASSES
https://travis-ci.org/root00198/travis-test/builds/640047387 <<- BUILD THAT FAILED

Check the diff between these two build... https://github.com/root00198/travis-test/compare/a808664ba5f7...3a1042fd1bdd

@root00198
Copy link
Member Author

Travis build is now failing and that is good sign... @publiclab/is-reviewers @jywarren @harshkhandeparkar @blurry-x-face

@jywarren
Copy link
Member

Fixes #1427 i think? Thank you!!! After #1551 will this pass, do you think?

.travis.yml Show resolved Hide resolved
@rishabhshuklax
Copy link
Member

Fixes #1427 i think? Thank you!!! After #1551 will this pass, do you think?

Yes, the tests should pass after this

@root00198
Copy link
Member Author

@jywarren yes after #1551 this will pass...

@jywarren
Copy link
Member

OK, this should be ready to rebase now!

@root00198
Copy link
Member Author

Add Qr Module is failing for some reason... It is not failing in node version 8.

@codecov
Copy link

codecov bot commented Jan 21, 2020

Codecov Report

Merging #1550 into main will decrease coverage by 0.16%.
The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff            @@
##            main    #1550      +/-   ##
=========================================
- Coverage   66.8%   66.64%   -0.17%     
=========================================
  Files        129      130       +1     
  Lines       2672     2674       +2     
  Branches     430      430              
=========================================
- Hits        1785     1782       -3     
- Misses       887      892       +5
Impacted Files Coverage Δ
src/util/getDataUri.js 100% <100%> (ø)
src/modules/_nomodule/PixelManipulation.js 40.67% <100%> (-5.48%) ⬇️
src/modules/TextOverlay/Module.js 40% <14.28%> (-6.16%) ⬇️
src/modules/Threshold/Threshold.js 79.06% <0%> (-4.66%) ⬇️
src/modules/Histogram/Module.js 97.29% <0%> (-2.71%) ⬇️

@rishabhshuklax
Copy link
Member

This is a problem related to looks-same, I think, because sometimes it also fails locally but when running the test script again It passes 😕 #1536

@root00198
Copy link
Member Author

root00198 commented Jan 21, 2020

That's the issue... I restarted the build though... let's see what happens... It will pass this time.

@jywarren
Copy link
Member

Yay! Are we good to merge this then? Super great work!

@jywarren jywarren merged commit 40dc23b into publiclab:main Jan 21, 2020
@jywarren
Copy link
Member

Thanks, everyone!

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.

None yet

3 participants