mirror of https://github.com/Textualize/rich.git
Configure GitHub Actions from 3.11
This commit is contained in:
parent
628bddcf76
commit
ab0b833638
|
@ -35,10 +35,16 @@ jobs:
|
|||
run: |
|
||||
source $VENV
|
||||
make typecheck
|
||||
- name: Test with pytest
|
||||
- if: ${{ matrix.version }} != '3.11.0-beta.4'
|
||||
name: Test with pytest (with coverage)
|
||||
run: |
|
||||
source $VENV
|
||||
pytest tests -v --cov=./rich --cov-report=xml:./coverage.xml --cov-report term-missing
|
||||
- if: ${{ matrix.version }} == '3.11.0-beta.4'
|
||||
name: Test with pytest (no coverage)
|
||||
run: |
|
||||
source $VENV
|
||||
pytest tests -v
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue