only run tests on main and PRs
This commit is contained in:
parent
0e88a8d13e
commit
25d4164bae
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ name: Django Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["*"]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -31,4 +31,4 @@ jobs:
|
||||||
-w /app \
|
-w /app \
|
||||||
-e SECRET_KEY=dummysecretkey \
|
-e SECRET_KEY=dummysecretkey \
|
||||||
website:test \
|
website:test \
|
||||||
sh -c 'uv run --extra dev manage.py migrate --noinput && uv run --extra dev manage.py test hub.services.tests --verbosity=2'
|
sh -c 'uv run --extra dev manage.py migrate --noinput && uv run --extra dev manage.py test hub.services.tests --verbosity=2'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue