Add initial implementations for forms and organization apps with serializers, factories, and admin configurations
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
This commit is contained in:
15
scripts/run-tests.sh
Executable file
15
scripts/run-tests.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# Django test runner script for pre-push
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/../src" || exit 1
|
||||
|
||||
export PYTHONPATH=.
|
||||
export DJANGO_SETTINGS_MODULE=settings.test
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
uv run pytest ../tests
|
||||
else
|
||||
uv run pytest "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user