Added testing

This commit is contained in:
Firq 2024-10-20 21:38:22 +02:00
parent 821251b77c
commit 56c1d5427a
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
8 changed files with 151 additions and 8 deletions
.forgejo/workflows

View file

@ -32,3 +32,17 @@ jobs:
run: |
mypy --version
mypy .
tests:
runs-on: docker
container: forgejo.neshweb.net/ci-docker-images/python-neshweb:3.11
steps:
- name: Checkout source code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Install packages
run: |
pip install -e .[testing] --disable-pip-version-check --no-cache-dir -q
python -m pip list --format=columns --disable-pip-version-check
- name: Run pytest
run: |
pytest