🚧 Edit PATH before loading python virtual env
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user