Add test workflow
This commit is contained in:
parent
e449164fdb
commit
47f008628f
13
.gitea/workflows/test.yml
Normal file
13
.gitea/workflows/test.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user