cicd: Add testing
This commit is contained in:
parent
6e9b4019a2
commit
9f65113c3a
1 changed files with 16 additions and 0 deletions
|
@ -2,7 +2,23 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- testing
|
- testing
|
||||||
|
- feature/forgejo-actions
|
||||||
jobs:
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.13'
|
||||||
|
cache: 'pip'
|
||||||
|
- name: Install needed python modules
|
||||||
|
working-directory: core
|
||||||
|
run: cd core && pip3 install -r requirements.prod.txt
|
||||||
|
- name: Run django tests
|
||||||
|
working-directory: core
|
||||||
|
run: python3 -m manage.py test
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue