Skip to content

Commit

Permalink
Run python tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
eholum committed Feb 6, 2024
1 parent 6cb5276 commit 2c18002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/python_test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pytest
pytest-cov
pytest-dependency
pytest-html
pytest-parallel
1 change: 1 addition & 0 deletions test/run_tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ TEST_RESULTS_DIR="${SCRIPT_DIR}/results"
# Run regular pytest tests
echo "Running Python package unit tests..."
python3 -m pytest "$SCRIPT_DIR" \
--workers auto \
--cov="$SCRIPT_DIR/../pyrobosim/pyrobosim" --cov-branch \
--cov-report term \
--cov-report html:"$TEST_RESULTS_DIR/test_results_coverage_html" \
Expand Down

0 comments on commit 2c18002

Please sign in to comment.