ci: attempt to pull in setup-python from gha
Some checks failed
/ Static Analysis (push) Failing after 37s
/ Tests (push) Failing after 35s

fix: ensure ci lints all source files
This commit is contained in:
Marc 2024-04-12 01:16:03 -04:00
parent dc57ecd228
commit 87e445ae98
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 10 additions and 4 deletions

View file

@ -6,22 +6,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: https://github.com/actions/setup-python@v5
with:
python-version: 3.12
- run: |
pip install -r ./requirements.txt
pip install -r ./requirements_sast.txt
- name: Formatting
run: python -m black .
run: python -m black . --check
- name: Linting
run: python -m pylint .
run: python -m pylint **/*.py
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
github-server-url: https://forge.karnov.club
- uses: https://github.com/actions/setup-python@v5
with:
python-version: 3.12
- run: |

View file

@ -25,3 +25,7 @@ spud = "spud.cli:cli"
[tool.setuptools]
packages = ["spud"]
[tool.pylint.main]
ignore = ["spud.venv"]
ignore-paths = ["spud.venv"]
jobs = 0