Add MyPy Gitea action.
This commit is contained in:
parent
f7ddddb8c9
commit
bc007031e5
14
.gitea/workflows/mypy.yaml
Normal file
14
.gitea/workflows/mypy.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
name: Mypy
|
||||
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
pytest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: apt-get update && apt-get install -y python3-pip
|
||||
- run: pip install -e .
|
||||
- run: pip install mypy
|
||||
- run: mypy org_rw --color-output
|
Loading…
Reference in New Issue
Block a user