Setup poetry before python
This commit is contained in:
parent
6834d939a2
commit
06c547e3c8
1 changed files with 4 additions and 5 deletions
9
.github/workflows/publish.yaml
vendored
9
.github/workflows/publish.yaml
vendored
|
@ -10,16 +10,15 @@ jobs:
|
||||||
name: Python tests
|
name: Python tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install poetry
|
||||||
|
run: pipx install poetry==1.1.13
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
cache: poetry
|
cache: poetry
|
||||||
- name: Setup poetry
|
|
||||||
uses: abatilo/actions-poetry@v2
|
|
||||||
with:
|
|
||||||
poetry-version: 1.1.13
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install
|
run: poetry install
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
Reference in a new issue