From 7ed9f85348f37c20f47bd8ba9ddc21771fefc9f7 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 22 Oct 2024 11:44:25 +0200 Subject: [PATCH] test CI --- .forgejo/workflows/ci.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .forgejo/workflows/ci.yaml diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml new file mode 100644 index 0000000..77224c4 --- /dev/null +++ b/.forgejo/workflows/ci.yaml @@ -0,0 +1,33 @@ +on: [push] + +jobs: + test: + runs-on: docker + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install tox + - run: tox + + mypy: + runs-on: docker + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install tox + - run: tox -e mypy + + coverage: + runs-on: docker + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install tox + - run: tox -e coverage +