2022-09-08 08:40:58 +02:00
|
|
|
---
|
2022-06-20 12:16:55 +02:00
|
|
|
name: pykanidm - pylint
|
|
|
|
|
|
|
|
"on":
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
|
|
pykanidm_pylint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-07-05 09:33:53 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-06-20 12:16:55 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
2022-09-29 02:08:15 +02:00
|
|
|
- name: Set up Python 3.10
|
2022-07-05 09:40:37 +02:00
|
|
|
uses: actions/setup-python@v4
|
2022-06-20 12:16:55 +02:00
|
|
|
with:
|
2022-09-29 02:08:15 +02:00
|
|
|
python-version: '3.10'
|
2022-06-20 12:16:55 +02:00
|
|
|
- name: Running tests
|
|
|
|
run: |
|
|
|
|
cd pykanidm
|
|
|
|
python -m pip install --quiet --no-cache-dir --upgrade poetry
|
|
|
|
poetry install
|
2022-09-08 08:40:58 +02:00
|
|
|
poetry run pylint tests kanidm
|