Skip to content

Commit f449ed4

Browse files
authored
Update test_integration.py
1 parent b3c9376 commit f449ed4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/test_integration.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ def run_integration_check(reference_file, current_file, threshold=0.01):
3838
if __name__ == "__main__":
3939
REFERENCE = "golden_reference.npy"
4040
CURRENT = "current_simulation.npy"
41-
41+
4242
success = run_integration_check(REFERENCE, CURRENT)
43-
sys.exit(1)
43+
44+
if success:
45+
sys.exit(0)
4446
else:
45-
sys.exit(0)
47+
sys.exit(1)

0 commit comments

Comments
 (0)