mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-14 12:08:04 +00:00
- Move run_tests_local.sh to scripts/ directory for consistency - Remove explicit test module listing from all test scripts - Let Django auto-discover all tests instead of maintaining explicit lists - Update README.md to reference new script location - Simplify scripts/run_tests_with_coverage.py to use auto-discovery - Reduce maintenance burden by eliminating duplicate test module lists
21 lines
520 B
Bash
Executable File
21 lines
520 B
Bash
Executable File
#!/bin/bash
|
|
# Run tests with OpenTelemetry enabled
|
|
# This is used in CI to test OpenTelemetry functionality
|
|
|
|
set -e
|
|
|
|
echo "Running tests with OpenTelemetry enabled..."
|
|
echo "=========================================="
|
|
|
|
# Enable OpenTelemetry
|
|
export ENABLE_OPENTELEMETRY=true
|
|
export OTEL_ENABLED=true
|
|
export OTEL_SERVICE_NAME=ivatar-test
|
|
export OTEL_ENVIRONMENT=test
|
|
|
|
# Run Django tests (Django will auto-discover all tests)
|
|
python3 manage.py test -v2
|
|
|
|
echo ""
|
|
echo "Tests completed successfully (OpenTelemetry enabled)"
|