diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 3c4893ee..47dc72bc 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -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: diff --git a/Makefile b/Makefile index 1183bc00..58ed2dbf 100644 --- a/Makefile +++ b/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: