fix(actions): explicitly set env vars so shell isn't confused
Some checks failed
Pylint / Pylint (push) Failing after 47s

This commit is contained in:
Seaswimmer 2023-09-24 12:45:03 -04:00
parent 656c861d14
commit 41592152eb
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -15,12 +15,12 @@ jobs:
add-apt-repository ppa:deadsnakes/ppa
apt install -y python3.11 gcc python3.11-dev python3.11-venv
- name: Install Poetry
run: |
python3.11 -m pip install --user pipx
python3.11 -m pipx install poetry==1.2.0
python3.11 -m pipx ensurepath
bash
run: curl -sSL https://install.python-poetry.org | python3.11 -
- 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
run: poetry run pylint $(git ls-files '*.py')
run: |
export PATH="$HOME/.local/bin:$PATH"
poetry run pylint $(git ls-files '*.py')