Skip to content

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.

ci: Calculate coverage only over scripts folder

Drikus Roor0adc4239b7e5
diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml
index a778d294bd..65fb34c529 100644
--- a/.github/workflows/unit_tests.yml
+++ b/.github/workflows/unit_tests.yml
@@ -33,7 +33,7 @@ jobs:
- name: Run unittest tests with coverage
continue-on-error: true
run: |
- coverage run -m unittest discover tests
+ coverage run --source=scripts -m unittest discover tests
- name: Generate coverage report
run: |