Skip to content

run mypy in github actions #7

run mypy in github actions

run mypy in github actions #7

Workflow file for this run

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CI
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
- name: install
run: pip3 install --quiet --editable . ruff mypy types-requests
- name: unit test
run: python3 -m unittest discover --verbose
- name: ruff
run: ruff check --output-format=github .
- name: mypy
run: mypy .