Giter Club home page Giter Club logo

Comments (9)

Gamecock avatar Gamecock commented on May 27, 2024 2

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.

nelsonic avatar nelsonic commented on May 27, 2024 1

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.

Cleop avatar Cleop commented on May 27, 2024

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:

which is what I had used in a previous project which had used the token.

from learn-istanbul.

nelsonic avatar nelsonic commented on May 27, 2024

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.

Cleop avatar Cleop commented on May 27, 2024

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.

nelsonic avatar nelsonic commented on May 27, 2024

@Cleop good question, we could do a hangout to figure it if you have time... 🤔

from learn-istanbul.

nelsonic avatar nelsonic commented on May 27, 2024

@Cleop were you able to get this working?

from learn-istanbul.

Gamecock avatar Gamecock commented on May 27, 2024

@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.

nelsonic avatar nelsonic commented on May 27, 2024

@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:
image
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

[![codecov.io](https://img.shields.io/codecov/c/github/dwyl/stars/master.svg?style=flat-square)](http://codecov.io/github/dwyl/stars?branch=master)

codecov.io

from learn-istanbul.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.