🚧 Edit PATH before loading python virtual env
Some checks failed
ci/woodpecker/pr/lint Pipeline failed

This commit is contained in:
2024-02-14 22:58:04 +01:00
parent 001c7330c6
commit 06d446c3f9

View File

@@ -8,10 +8,10 @@ steps:
image: python:3.12-alpine image: python:3.12-alpine
commands: | commands: |
python3 -m venv local python3 -m venv local
source ./local/bin/activate
export PATH="./local/bin:${PATH}"
cd ./local cd ./local
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
export PATH="${PWD}/local/bin:${PATH}"
source ./local/bin/activate
pip install poetry pip install poetry
poetry install --only=linters --no-root poetry install --only=linters --no-root