mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-03-15 04:34:49 +00:00
28 lines
932 B
YAML
28 lines
932 B
YAML
name: Mypy
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Install Dependencies
|
|
run: |
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y libcurl4-openssl-dev libpython3-dev libssl-dev
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
pip install apprise braintree minio
|
|
pip install mypy==1.13.0 django-stubs types-braintree types-pycurl==7.45.2.20240311 types-Markdown types-pygments
|
|
touch hc/local_settings.py
|
|
- name: Run Mypy
|
|
run: mypy --strict hc
|