Skip to content

Commit 1908192

Browse files
committed
leave bdsim blocks out of tests and coverage
1 parent 5796a00 commit 1908192

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
pip install .[dev,collision]
3030
pip install pytest-timeout
31-
pytest --timeout=50 --timeout_method thread -s
31+
pytest --ignore=roboticstoolbox/blocks --timeout=50 --timeout_method thread -s
3232
codecov:
3333
# If all tests pass:
3434
# Run coverage and upload to codecov
@@ -46,7 +46,7 @@ jobs:
4646
- name: Run coverage
4747
run: |
4848
pip install -e .[dev,collision,vpython]
49-
pytest --cov=roboticstoolbox --cov-report xml:coverage.xml
49+
pytest --ignore=roboticstoolbox/blocks --cov=roboticstoolbox --cov-report xml:coverage.xml
5050
coverage report
5151
- name: upload coverage to Codecov
5252
uses: codecov/codecov-action@v3

.github/workflows/test_future.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ jobs:
6969
pip install pytest-timeout
7070
python -c "import spatialgeometry"
7171
python -c "import roboticstoolbox"
72-
pytest --timeout=50 --timeout_method thread -s
72+
pytest --ignore=roboticstoolbox/blocks --timeout=50 --timeout_method thread -s

0 commit comments

Comments
 (0)