Comments (5)
Hi @arboleya unfortunately we're not able to merge coverage data across CI's yet (unless the job ids are the same). I can see how this could work -- cross-referencing the commit SHA as opposed to the build number from the CI. Supporting arbitrary number of CI's per build has quite a few UI implications, but is definitely doable.
I'm not sure how this will fit into our dev queue, but I'll keep you posted!
PS perhaps you could hack this by short circuiting the CI_BUILD_NUMBER and CI_JOB_ID to be the current git SHA in the build ENV, but then you'd need a way to handle multiple webhooks. If you know one of the CI's always takes the longest, you may be able to get away with having that one send the hook.
from node-coveralls.
Oh I see, sad thing. But there's support for multiples builds from the same CI?
Because if yes, it'd be a matter of using the commit SHA as identifier instead of a build number or whatever you are using now. Am I being too simplistic?
from node-coveralls.
Yes, that's possible, but the other issues would be:
- linking to the separate CI's from the build/job views
- knowing when all have completed in order to send notifications / update PR status checks on GH
from node-coveralls.
Linking to separate CI's shouldn't be hard, it's one pattern per service.
I wouldn't mind about know when it's finished, too complicated. Instead, I'd be always merging payloads that are sent, so you sent just one, you got coverage for one. If another one comes in, merge data, display a new CI button, e display the percentage of it all.
Well, just ideas.. as it is absolutely out of my control :)
I'm thinking about doing a middleware where all my tests posts its coverage to, then I get all merged and submit all at once as a single report. Not ideal, will take some time, but it's doable.
It's a feature I didn't find anywhere, not in coveralls, not in codeclimate etc.
Could be a differential too.
from node-coveralls.
@nickmerwin I'd also be interested in being able to support different CI vendors, since i also use travis + appveyor.
from node-coveralls.
Related Issues (20)
- Missing git tags HOT 2
- Update sinon HOT 3
- Error: The commit wasn't found on the repo HOT 1
- error: `Couldn't find a repository matching this job.` for coverage output sent from within docker container run on Travis-CI HOT 1
- "Couldn't find a repository matching this job." - CircleCI + nyc + mocha HOT 5
- Update minimist dependency to 1.2.2 to fix security issues HOT 1
- Not a valid object name error when upgrading from v3.0.9 to v3.0.11 HOT 5
- Fail Builds on Coverage Drop in an unsupported CI
- Stop using `fs` `*Sync` methods HOT 2
- Jenkins error - fatal: Not a valid object name HOT 2
- Feature request: ability to convert .info file to coveralls format without uploading HOT 2
- Replace deprecated request HOT 4
- Error in `expectRevert` when used with Coveralls code coverage
- [SUPPORT REQUEST] Add support for generic Github Actions implementation HOT 1
- Missing or non working git_messages for Jenkins HOT 1
- CircleCI build displays the workflow id in coveralls rather than the build num HOT 2
- Sudo: npm: command not found
- Security issue `json-schema` HOT 4
- update minimist to >=1.2.6 due to critical vulnerability
- Is this repo not maintained anymore? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-coveralls.