Merge branch 'master' of github.com:Textualize/rich into new-markdown-parser

This commit is contained in:
Darren Burns 2023-01-17 15:48:51 +00:00
commit 6dada684b7
No known key found for this signature in database
GPG key ID: B0939B45037DC345
103 changed files with 3428 additions and 1572 deletions

View file

@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0-beta.4"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11.0"]
defaults:
run:
shell: bash
@ -20,9 +20,10 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install and configure Poetry
uses: snok/install-poetry@v1
# TODO: workaround for https://github.com/snok/install-poetry/issues/94
uses: snok/install-poetry@v1.3.1
with:
version: 1.1.11
version: 1.3.1
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install
@ -36,15 +37,9 @@ jobs:
source $VENV
make typecheck
- name: Test with pytest (with coverage)
if: matrix.python-version != '3.11.0-beta.4'
run: |
source $VENV
pytest tests -v --cov=./rich --cov-report=xml:./coverage.xml --cov-report term-missing
- name: Test with pytest (no coverage)
if: matrix.python-version == '3.11.0-beta.4'
run: |
source $VENV
pytest tests -v
- name: Upload code coverage
uses: codecov/codecov-action@v2
with: