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:
Luqman
2023-02-17 15:59:14 +01:00
committed by GitHub
parent 6de733e607
commit bbeaef4732
13 changed files with 577 additions and 519 deletions

View File

@@ -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: |