mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-07 00:04:26 +01: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