Switch to the new way to upload coverage (using the PYPI packages was deprecated)

This commit is contained in:
Alessio Bogon 2022-11-05 10:21:20 +01:00
parent e7007eaeff
commit 3278934277
1 changed files with 6 additions and 4 deletions

View File

@ -23,12 +23,14 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -U setuptools pip install -U setuptools
pip install tox tox-gh-actions codecov pip install tox tox-gh-actions
- name: Type checking - name: Type checking
continue-on-error: true continue-on-error: true
run: | run: |
tox -e mypy tox -e mypy
- name: Test with tox - name: Test with tox
run: | run: tox
tox - uses: codecov/codecov-action@v3
codecov with:
fail_ci_if_error: true
verbose: true # optional (default = false)