chore: attempt to speed up CI

Coveralls is only needed by one matrix run ...
This commit is contained in:
Matthias 2024-10-18 06:26:36 +02:00
parent efc689a937
commit a40a2f96b5

View File

@ -68,6 +68,12 @@ jobs:
python build_helpers/freqtrade_client_version_align.py python build_helpers/freqtrade_client_version_align.py
- name: Tests - name: Tests
if: (!(runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-22.04'))
run: |
pytest --random-order
- name: Tests with Coveralls
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-22.04')
run: | run: |
pytest --random-order --cov=freqtrade --cov=freqtrade_client --cov-config=.coveragerc pytest --random-order --cov=freqtrade --cov=freqtrade_client --cov-config=.coveragerc