add: status badges #2
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: Test Suite | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- "examples/**" | |
pull_request: | |
branches: ["main"] | |
paths-ignore: | |
- "examples/**" | |
jobs: | |
linters: | |
timeout-minutes: 3 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11"] | |
poetry-version: ["1.8.1"] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Install the project dependencies | |
run: poetry install | |
- name: Lint with isort | |
run: poetry run isort --check eskiz/ | |
- name: Lint with black | |
run: poetry run black --check eskiz/ | |
- name: Lint with mypy | |
run: poetry run mypy eskiz/ |