cicd: Add testing
This commit is contained in:
parent
c2800fa9cb
commit
7ffb7f02b0
1 changed files with 16 additions and 0 deletions
|
@ -2,7 +2,23 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- testing
|
||||
- feature/forgejo-actions
|
||||
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:
|
||||
runs-on: docker
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue