From bc007031e5b6815910d3c8cda957d546642389cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 15 Oct 2023 23:34:29 +0200 Subject: [PATCH] Add MyPy Gitea action. --- .gitea/workflows/mypy.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/mypy.yaml diff --git a/.gitea/workflows/mypy.yaml b/.gitea/workflows/mypy.yaml new file mode 100644 index 0000000..80944b0 --- /dev/null +++ b/.gitea/workflows/mypy.yaml @@ -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