mirror of
https://github.com/Textualize/rich.git
synced 2025-07-07 12:54:59 +00:00
Configure GitHub Actions from 3.11
This commit is contained in:
parent
628bddcf76
commit
ab0b833638
2 changed files with 9 additions and 1 deletions
8
.github/workflows/pythonpackage.yml
vendored
8
.github/workflows/pythonpackage.yml
vendored
|
@ -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:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,5 +1,7 @@
|
|||
test:
|
||||
TERM=unknown pytest --cov-report term-missing --cov=rich tests/ -vv
|
||||
test-no-cov:
|
||||
TERM=unknown pytest tests/ -vv
|
||||
format-check:
|
||||
black --check .
|
||||
format:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue