AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Add CodeCov CI coverage requirements (#2881)
Nicholas Tindlee9f3f9bd1d7b
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex a32f9ffae1..b3a1585fdb 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -60,7 +60,7 @@ If you have an idea for a new feature or improvement, please create an issue onWhen submitting a pull request, please ensure that your changes meet the following criteria:- Your pull request should be atomic and focus on a single change.-- Your pull request should include tests for your change.+- Your pull request should include tests for your change. We automatically enforce this with [CodeCov](https://docs.codecov.com/docs/commit-status)- You should have thoroughly tested your changes with multiple different prompts.- You should have considered potential risks and mitigations for your changes.- You should have documented your changes clearly and comprehensively.diff --git a/codecov.yml b/codecov.ymlnew file mode 100644index 0000000000..61acfc082b--- /dev/null+++ b/codecov.yml@@ -0,0 +1,6 @@+coverage:+ status:+ project:+ default:+ target: auto+ threshold: 1%\ No newline at end of file