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 code coverage GitHub action #262

Open
paulschreiber opened this issue Feb 3, 2023 · 3 comments
Open

Add code coverage GitHub action #262

paulschreiber opened this issue Feb 3, 2023 · 3 comments
Labels

Comments

@paulschreiber
Copy link
Member

Description

Add a code coverage GitHub action to the backend, similar to what is done with the web client.

Will likely require a Makefile and/or Dockerfile change.

Web client test action (in build.yml):
https://github.com/techmatters/terraso-web-client/blob/main/.github/workflows/build.yml#L55-L74

@JeancarloBarrios
Copy link
Contributor

Is there any specific tool we use for this? Can I set it up with code cove?

@paulschreiber
Copy link
Member Author

@JeancarloBarrios We don't have a specific tool. The web client uses react-scripts test --coverage.

Looks like there are a bunch of GitHub actions for pytest's coverage tool.

@JeancarloBarrios
Copy link
Contributor

Do you mind if I set it up with code cove? It is free for open-source projects!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

3 participants