Skip to content

Commit 6689178

Browse files
authored
Fix pytest discovery (#1757)
* should fail/timeout * . * now fix * Revert "." This reverts commit 8027e7c. * n8
1 parent 21fbe48 commit 6689178

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

conftest.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# pytest attempts to execute shell scripts while collecting
2+
collect_ignore_glob = [
3+
"opendbc/safety/tests/misra/*",
4+
]

opendbc/safety/tests/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ else
1515
fi
1616

1717
# run safety tests and generate coverage data
18-
pytest test_*.py
18+
pytest -n8
1919

2020
# generate and open report
2121
if [ "$1" == "--report" ]; then

0 commit comments

Comments
 (0)