cutekit/.github/workflows/checks.yml

35 lines
623 B
YAML
Raw Normal View History

2023-11-11 16:02:42 +00:00
name: Checks
on:
pull_request:
push:
branches:
- stable
- dev
jobs:
2023-11-13 18:35:26 +00:00
checks:
2023-11-11 16:02:42 +00:00
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
2023-11-11 16:02:42 +00:00
with:
python-version: '3.x'
2023-11-11 16:02:42 +00:00
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r .github/workflows/requirements.txt
2023-11-11 16:02:42 +00:00
- name: Run MyPy
run: |
python -m mypy --install-types --non-interactive .
2023-11-13 18:19:59 +00:00
- name: Run PyTest
run: |
python -m pytest