Skip to content

Commit 281b7cc

Browse files
committed
Exit with result
1 parent 15115a0 commit 281b7cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/run_script.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import os
66
import subprocess
7+
import sys
78
from pathlib import Path
89

910
import pytest
@@ -14,12 +15,14 @@ def run_test(test_filename: str) -> None:
1415
Run pytest with a given filename.
1516
"""
1617
path = Path('tests') / 'mock_vws' / test_filename
17-
pytest.main([
18+
result = pytest.main([
19+
'-vvv',
1820
'--exitfirst',
1921
str(path),
2022
'--cov=src',
2123
'--cov=tests',
2224
])
25+
sys.exit(result)
2326

2427

2528
if __name__ == '__main__':

0 commit comments

Comments
 (0)