Skip to content

Commit bb5a2b4

Browse files
committed
coverage report
1 parent a2d6d6a commit bb5a2b4

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ jobs:
5151
- name: Install dependencies
5252
run: |
5353
python -m pip install --upgrade pip
54-
- name: Run coverage
55-
run: |
5654
pip install .[dev]
5755
pip install pytest-xvfb
5856
pip install pytest-timeout
57+
- name: Run coverage
58+
run: |
5959
pytest --cov=spatialmath --cov-report xml:coverage.xml
6060
coverage report
6161
- name: upload coverage to Codecov

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ test:
1717

1818
coverage:
1919
pytest --cov=spatialmath
20-
coverage report
2120

2221
docs: .FORCE
2322
(cd docs; make html)

tests/test_geom3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def test_plane(self):
271271

272272
xyplane = [0, 0, 1, 0]
273273
xzplane = [0, 1, 0, 0]
274-
L = Line3.IntersectingPlanes(xyplane, xzplane) # x axis
274+
L = Line3.TwoPlanes(xyplane, xzplane) # x axis
275275
nt.assert_array_almost_equal(L.vec, np.r_[0, 0, 0, -1, 0, 0])
276276

277277
L = Line3.Join([-1, 2, 3], [1, 2, 3]); # line at y=2,z=3

0 commit comments

Comments
 (0)