зеркало из https://github.com/microsoft/FLAML.git
Add retry to test and coverage
This commit is contained in:
Родитель
b0f8c5a8e9
Коммит
ce13097cd5
|
@ -86,12 +86,14 @@ jobs:
|
|||
if: matrix.python-version != '3.10'
|
||||
run: |
|
||||
pytest test
|
||||
retry: 3
|
||||
- name: Coverage
|
||||
if: matrix.python-version == '3.10'
|
||||
run: |
|
||||
pip install coverage
|
||||
coverage run -a -m pytest test
|
||||
coverage xml
|
||||
retry: 3
|
||||
- name: Upload coverage to Codecov
|
||||
if: matrix.python-version == '3.10'
|
||||
uses: codecov/codecov-action@v3
|
||||
|
|
Загрузка…
Ссылка в новой задаче