mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 08:46:38 +00:00
28 lines
754 B
Python
28 lines
754 B
Python
import pytest
|
|
import sys
|
|
import os
|
|
|
|
def main():
|
|
"""
|
|
Orchestrates the end-to-end unit and integration tests.
|
|
Automatically mocks heavy deep learning models to ensure fast, deterministic execution.
|
|
"""
|
|
print("==================================================")
|
|
print("Starting ATLAS-GEOFUSE Test Suite & Coverage Run")
|
|
print("==================================================")
|
|
|
|
# Force mock models so we don't attempt to download or run PyTorch weights on CI/CD
|
|
os.environ["USE_MOCK_MODELS"] = "1"
|
|
|
|
args = [
|
|
"tests/",
|
|
"-v",
|
|
"--cov=.",
|
|
"--cov-report=term-missing",
|
|
"--cov-report=html"
|
|
]
|
|
|
|
sys.exit(pytest.main(args))
|
|
|
|
if __name__ == "__main__":
|
|
main() |