forked from rhouben/pda-next
Initial build
This commit is contained in:
28
.gitea/workflows/unit-tests.yaml
Normal file
28
.gitea/workflows/unit-tests.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Urania unit tests
|
||||
run-name: ${{ gitea.actor }} is testing Urania branch ${{ gitea.ref_name }}
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
Run-unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.13.5
|
||||
- name: Install requirements
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -r src/requirements.txt
|
||||
- name: Run unit tests
|
||||
env:
|
||||
DJANGO_SECRET_KEY: 'u92=rjf!))-h!1l9z%4i2xwk^t6%l+$z!$a%1_5zba4_9=ypj1'
|
||||
working-directory: src
|
||||
run:
|
||||
python3 manage.py test
|
||||
|
||||
Reference in New Issue
Block a user