-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Reduce Travis runtime #8951
Reduce Travis runtime #8951
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8951 +/- ##
=======================================
Coverage ? 81.93%
=======================================
Files ? 100
Lines ? 5950
Branches ? 0
=======================================
Hits ? 4875
Misses ? 1075
Partials ? 0 |
Code Climate has analyzed commit b7e5ecf and detected 0 issues on this pull request. View more on Code Climate. |
@jywarren @cesswairimu is there a way to run unit, integration, functional and system tests in parallel? I tried build staging but I'm not sure why that too ran the tests in series |
Hi @Manasa2850, looks like we forgot to close Travis related issues...we moved from Travis and we are now using github actions for CI..so I am not sure there is a way we can test this or if we will ever go back to using Travis...as per your question I don't know of any. Thanks |
Oh okay @cesswairimu. I've added caching which reduces the build time by 4 mins. Will this PR be of any use? If not, I'll close it for now. |
we can merge it when its ready in case we wonna use Travis in the future... |
The build time has reduced by 4 minutes. @cesswairimu this PR can be merged now! If I figure out a way to run tests in parallel sometime later on I'll make another PR for that. Thanks! |
The test runner does not use travis.yml(I think) and it looks like it fluctuates e.g on this PR here it ran in 13mins #8928 ...I think we might not be able to test this and we might resolve to closing...so sorry for the confusion |
Oh okay @cesswairimu. Even I'm not sure why it doesn't use |
Fixes #6225 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!