mirror of
https://github.com/Textualize/rich.git
synced 2025-12-23 07:08:35 +00:00
Upgrade GitHub Actions
* https://github.com/actions/checkout/releases * https://github.com/actions/setup-python/releases * https://github.com/snok/install-poetry/releases * https://github.com/codecov/codecov-action/releases
This commit is contained in:
parent
4001aa9179
commit
b56fa35a73
1 changed files with 4 additions and 4 deletions
8
.github/workflows/pythonpackage.yml
vendored
8
.github/workflows/pythonpackage.yml
vendored
|
|
@ -13,15 +13,15 @@ jobs:
|
|||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
architecture: x64
|
||||
- name: Install and configure Poetry
|
||||
# TODO: workaround for https://github.com/snok/install-poetry/issues/94
|
||||
uses: snok/install-poetry@v1.3.1
|
||||
uses: snok/install-poetry@v1.3.3
|
||||
with:
|
||||
version: 1.1.11
|
||||
virtualenvs-in-project: true
|
||||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
source $VENV
|
||||
pytest tests -v --cov=./rich --cov-report=xml:./coverage.xml --cov-report term-missing
|
||||
- name: Upload code coverage
|
||||
uses: codecov/codecov-action@v2
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: ./coverage.xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue