mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
18 lines
431 B
Python
Executable File
18 lines
431 B
Python
Executable File
#!/usr/bin/env python3
|
|
import os
|
|
import sys
|
|
import pytest
|
|
|
|
if __name__ == "__main__":
|
|
# Add the project root to the Python path
|
|
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))
|
|
sys.path.insert(0, project_root)
|
|
|
|
# Run pytest with coverage
|
|
sys.exit(pytest.main([
|
|
"--cov=karaoke_gen",
|
|
"--cov-report=term",
|
|
"-v",
|
|
os.path.dirname(__file__)
|
|
]))
|