0.0.9 #92
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python_version: [3.9, '3.10', '3.11', '3.12'] | |
steps: | |
- name: Setup Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Fetch lonelypss | |
uses: actions/checkout@v4 | |
- name: Generic python setup | |
run: | | |
python -m pip install --upgrade pip | |
- name: Installing dependencies | |
run: | | |
python -m pip install -r requirements.txt | |
- name: Lint lonelypss with black | |
run: | | |
python -m black --check src/lonelypss | |
- name: Type check lonelypss with mypy | |
working-directory: src | |
run: | | |
mypy lonelypss --explicit-package-bases --disallow-untyped-defs | |
- name: Lint lonelypss with ruff | |
run: ruff check --output-format=github src |