mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
ci: Run unit tests with coverage report
This commit is contained in:
9
.github/workflows/unit_tests.yml
vendored
9
.github/workflows/unit_tests.yml
vendored
@@ -30,7 +30,12 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Run unittest tests
|
||||
- name: Run unittest tests with coverage
|
||||
continue-on-error: true
|
||||
run: |
|
||||
python -m unittest discover -t . -s tests
|
||||
coverage run -m unittest discover tests
|
||||
|
||||
- name: Generate coverage report
|
||||
run: |
|
||||
coverage report
|
||||
coverage xml
|
||||
|
||||
Reference in New Issue
Block a user