cutekit/.github/workflows/checks.yml
2023-11-21 13:51:09 +01:00

41 lines
742 B
YAML

name: Checks
on:
pull_request:
push:
branches:
- stable
- dev
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
sudo apt install -y ruff
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install mypy pytest
- name: Run MyPy
run: |
python -m mypy --install-types --non-interactive .
- name: Run PyTest
run: |
python -m pytest
- name: Run Ruff
run: |
ruff check cutekit