mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-12-01 13:44:16 +00:00
Code Coverage (#4236)
* Code Coverage * minor fix * Remove coverage limit check * Check code cov * removed env * Tests : fixing tests + autocompletion bug * Tests : skip a test * Linting * Tests : skip slow coins test on crypto * Added check for coverage * Remove failure test * Minor tweak * Added code coverage to base test --------- Co-authored-by: Chavithra <chavithra@gmail.com> Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
4
.github/workflows/unit-test.yml
vendored
4
.github/workflows/unit-test.yml
vendored
@@ -94,12 +94,12 @@ jobs:
|
||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
run: poetry install --no-interaction -E optimization
|
||||
|
||||
- name: Run tests
|
||||
- name: Run tests and coverage test
|
||||
env:
|
||||
MPLBACKEND: Agg
|
||||
run: |
|
||||
source $VENV
|
||||
pytest tests/ --optimization --autodoc
|
||||
pytest tests/ --optimization --cov --cov-fail-under=50 --autodoc
|
||||
|
||||
- name: Start Terminal and exit
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user