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
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
cache: poetry
|
||||
- name: Setup poetry
|
||||
uses: abatilo/actions-poetry@v2
|
||||
with:
|
||||
poetry-version: 1.1.13
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
- name: Test
|
||||
|
|
Reference in a new issue