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

Add CodeCov on the repository #198

Open
hoh opened this issue Feb 22, 2024 · 0 comments
Open

Add CodeCov on the repository #198

hoh opened this issue Feb 22, 2024 · 0 comments

Comments

@hoh
Copy link
Member

hoh commented Feb 22, 2024

First, we need to run the tests outside of Docker and with coverage.

Then in the GitHub Actions:

After tests run, this will upload the coverage report to Codecov:

  uses: codecov/[email protected]
  with:
    token: ${{ secrets.CODECOV_TOKEN }}
    slug: aleph-im/aleph-client

After you committed your changes and ran the repo's CI/CD pipeline. In your pull request, you should see two status checks and PR comment.
image

Once merged to the default branch, subsequent pull requests will have checks and report comment. Additionally, you'll find your repo coverage dashboard here.

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

1 participant