redo the action for running tests
Some checks are pending
Django Tests / test (push) Blocked by required conditions
Some checks are pending
Django Tests / test (push) Blocked by required conditions
This commit is contained in:
parent
78f52ea7f4
commit
5888e281ea
6 changed files with 22 additions and 1648 deletions
22
.forgejo/workflows/test.yaml
Normal file
22
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Django Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_NAME }}:latest
|
||||
options: --entrypoint ""
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run Django tests
|
||||
run: |
|
||||
python -m hub migrate --noinput
|
||||
python -m hub test --verbosity=2
|
Loading…
Add table
Add a link
Reference in a new issue