Speed up ci by running coverage only where necessary

This commit is contained in:
Matthias 2022-04-23 11:47:10 +02:00
parent f2912f8815
commit c1a7fc873d

View File

@ -157,6 +157,12 @@ jobs:
pip install -e .
- name: Tests
if: (runner.os != 'Linux' || matrix.python-version != '3.8')
run: |
pytest --random-order
- name: Tests (with cov)
if: (runner.os == 'Linux' && matrix.python-version == '3.8')
run: |
pytest --random-order --cov=freqtrade --cov-config=.coveragerc