mirror of
https://github.com/Textualize/rich.git
synced 2025-12-23 07:08:35 +00:00
Merge branch 'master' of github.com:Textualize/rich into new-markdown-parser
This commit is contained in:
commit
6dada684b7
103 changed files with 3428 additions and 1572 deletions
13
.github/workflows/pythonpackage.yml
vendored
13
.github/workflows/pythonpackage.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue