dockge-cli/.forgejo/workflows/check.yaml
Firq e44fd8a7a5
Some checks failed
/ pylint (push) Successful in 12s
/ typing-mypy (push) Failing after 10s
Refactor, typing improvements, ci improvements
2024-07-05 11:15:07 +02:00

38 lines
1.1 KiB
YAML

on:
push:
branches: "**"
jobs:
pylint:
runs-on: docker
container: nikolaik/python-nodejs:python3.11-nodejs21
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
run: |
pip install -e . -q
pip install pylint~=2.17.7 --disable-pip-version-check -q
python -m pip list --format=columns --disable-pip-version-check
- name: Run pylint
run: |
pylint --version
pylint **/*.py --exit-zero --rc-file pyproject.toml
typing-mypy:
runs-on: docker
container: nikolaik/python-nodejs:python3.11-nodejs21
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
run: |
pip install -e . -q
pip install mypy~=1.10.1 --disable-pip-version-check -q
mypy --install-types
python -m pip list --format=columns --disable-pip-version-check
- name: Run mypy
run: |
mypy --version
mypy .