fix(actions): explicitly set env vars so shell isn't confused
Some checks failed
Pylint / Pylint (push) Failing after 47s
Some checks failed
Pylint / Pylint (push) Failing after 47s
This commit is contained in:
parent
656c861d14
commit
41592152eb
1 changed files with 7 additions and 7 deletions
|
@ -15,12 +15,12 @@ jobs:
|
||||||
add-apt-repository ppa:deadsnakes/ppa
|
add-apt-repository ppa:deadsnakes/ppa
|
||||||
apt install -y python3.11 gcc python3.11-dev python3.11-venv
|
apt install -y python3.11 gcc python3.11-dev python3.11-venv
|
||||||
- name: Install Poetry
|
- name: Install Poetry
|
||||||
run: |
|
run: curl -sSL https://install.python-poetry.org | python3.11 -
|
||||||
python3.11 -m pip install --user pipx
|
|
||||||
python3.11 -m pipx install poetry==1.2.0
|
|
||||||
python3.11 -m pipx ensurepath
|
|
||||||
bash
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install --with dev
|
run: |
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
poetry install --with dev
|
||||||
- name: Analysing the code with Pylint
|
- name: Analysing the code with Pylint
|
||||||
run: poetry run pylint $(git ls-files '*.py')
|
run: |
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
poetry run pylint $(git ls-files '*.py')
|
||||||
|
|
Loading…
Reference in a new issue