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

codecov-lite #173

Open
shellscape opened this issue Nov 7, 2019 · 4 comments
Open

codecov-lite #173

shellscape opened this issue Nov 7, 2019 · 4 comments

Comments

@shellscape
Copy link

I'd like to request support in codecov-lite for flags as an option. See: https://docs.codecov.io/reference#upload for the flags definition. This is particularly useful for monorepos when sub-packages would like to track and display their individual coverage.

@deepsweet
Copy link
Member

Hi.

Isn't it enough to set it up through codecov.yml like here?

coverage:
  status:
    project:
      default:
        target: 90%
        threshold: null
      projectA:
        flags: projectA
        target: 90%
      projectB:
        target: 50%
        flags: projectB
flags:
  projectA:  
    paths:
      - projectA/src
  projectB:
    paths:
      - projectB/src

@shellscape
Copy link
Author

Thanks for replying. I can certainly give that a shot, but for our application it would be immensely helpful to be able to specify that dynamically, on the fly.

@deepsweet
Copy link
Member

does it work with codecov.yml?

@shellscape
Copy link
Author

I haven't had the chance to circle back yet. We just wrapped up migration of rollup plugins to our monorepo and are working through some much needed fixes. Coverage is next on my list though.

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

No branches or pull requests

2 participants