Comments (9)
Thanks, this pointed me in the correct direction. I just had to add ?token=:graph_token to the end of my request.
https://docs.codecov.io/reference#about-graphs
from learn-istanbul.
Hi @Cleop thank you for creating this question! ❤️
Are the instructions in the readme for setting up Codecov no longer valid? 😞
I'm just about to set this up for my weekend project: https://github.com/dwyl/stars so will be checking if I can replicate it. will report back shortly. thanks! 👍
from learn-istanbul.
The last few amends I've made using Travis to try and fix this have all failed on the build. The only one which passed in Travis but didn't have working Codecov looked like this in the package.json:
before_install:
- pip install --user codecov
after_success: - bash <(curl -s https://codecov.io/bash)
- npm run coverage
which is what I had used in a previous project which had used the token.
from learn-istanbul.
Hi @Cleop,
Haven't "forgotten" you. 💭
I've implemented Travis-CI with Codecov including the PR comments: dwyl/stars#3 (comment)
the PR isn't quite done yet but you can see that it's working with the following .travis.yml
:
https://github.com/dwyl/stars/blob/e084a225ce43f2a019720955111c41ac1d1d9bf7/.travis.yml#L8-L11
Did you have any luck? 🍀
from learn-istanbul.
I've managed to get Travis to pass by removing the coverage script I had in my package.json before for istanbul. However I'm still getting codecov: unknown on my badge on the readme and I have no commit histories in my codecov profile.
Any ideas @nelsonic?
from learn-istanbul.
@Cleop good question, we could do a hangout to figure it if you have time... 🤔
from learn-istanbul.
@Cleop were you able to get this working?
from learn-istanbul.
@nelsonic I found this trying to resolve the codecov badge showing unknown in Github, when codecov.io has coverage metrics, and I noticed the dwyl/stars#3 also shows codecov status as unknown. Does that feature no longer work?
from learn-istanbul.
@Gamecock Good question.
It appears that recently Codecov have changed how they implement coverage via CI service.
I recently updated on of our JS projects https://github.com/dwyl/learn-json-web-tokens and it required me adding a CODECOV_TOKEN
environment variable to Travis-CI to get it to work. 🙄
The feature definitely works. We use Codecov on over 50 dwyl repositories: https://codecov.io/gh/dwyl
Ironically, the repo you have linked to (stars) is on page 3 of our list of repos:
https://codecov.io/gh/dwyl?page=3 and shows 100% coverage:
So the badge just needs to be updated ...
[![codecov](https://codecov.io/gh/dwyl/stars/branch/master/graph/badge.svg)](https://codecov.io/gh/dwyl/stars)
[![codecov.io](https://img.shields.io/codecov/c/github/dwyl/stars/master.svg?style=flat-square)](http://codecov.io/github/dwyl/stars?branch=master)
from learn-istanbul.
Related Issues (15)
- How to cover all the files in the directory recursively HOT 3
- Update Codecov Setup instructions to use single-line bash command
- Check in HOT 2
- (ES6) Missing description about branches originated by default value for function parameters
- Unable to run whole project HOT 1
- Tidy up, Update Dependencies and Cut down on intro text
- Migrate from istanbul to nyc ? HOT 1
- broken Hitcount
- update readme links
- Update all screenshots to the latest Istanbul UI HOT 4
- Add section on using Codecov with projects using istanbul
- test.js and test1.js appear to be identical is this intentional?
- Broken Links - test all links in the readme to confirm they still work HOT 2
- How to ignore files (e.g: libraries) from coverage using a .istanbul.yml file?
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 learn-istanbul.