fix(actions): testing poetry workflow
Some checks failed
Pylint / Pylint (push) Failing after 39s

This commit is contained in:
Seaswimmer 2023-09-24 12:29:58 -04:00
parent e071ec8952
commit 56ecfea2f2
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -14,10 +14,13 @@ jobs:
run: | run: |
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
run: |
curl -sSL https://install.python-poetry.org | python3.11 -
source $HOME/.poetry/env
- name: Install dependencies - name: Install dependencies
run: | run: |
python3.11 -m pip install --upgrade pip poetry install --with dev
python3.11 -m pip install pylint
python3.11 -m pip install -U Red-DiscordBot pytimeparse2 yt-dlp
- name: Analysing the code with Pylint - name: Analysing the code with Pylint
run: pylint $(git ls-files '*.py') run: |
poetry run pylint $(git ls-files '*.py')