Add test workflow

This commit is contained in:
Lukáš Kucharczyk 2023-11-18 10:36:28 +01:00
parent e449164fdb
commit 47f008628f
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 13 additions and 0 deletions

13
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,13 @@
name: Test
on: [ push, pull_request ]
jobs:
run-tests:
runs-on: python:3.12
steps:
- python -m pip install poetry
- poetry install
- poetry env info
- poetry run python manage.py migrate
- poetry run pytest