update version #37
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: Tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: CI Tests | |
strategy: | |
fail-fast: false | |
matrix: | |
poetry-version: [1.7.1] | |
python-version: ["3.10", "3.11", "3.12"] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Install Python Dependencies | |
run: poetry install | |
- name: Linting (Ruff) | |
run: poetry run ruff favicons | |
- name: Type Checking (MyPy) | |
run: poetry run mypy favicons |