Skip to content

Install poetry with root in actions #59

Install poetry with root in actions

Install poetry with root in actions #59

Workflow file for this run

name: Check
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt install ccache python3.11-dev python3.11-venv
- run: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 20
- run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry sudo python3.11 -
- run: export PATH=/usr/local/poetry/bin:$PATH
- run: poetry install
- run: poetry run pytest -s --timeout 3