Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Commit 0a4465f

Browse files
committed
moving to python -m pytest to solve conda test issue
1 parent a376cc2 commit 0a4465f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

conda/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
py.test
2+
python -m pytest

conda/run_test_coverage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
pip install coverage pytest-cov
3-
py.test --cov=mopper --cov-report xml:/tmp/artefacts/tests/pytest/coverage.xml --junit-xml /tmp/artefacts/tests/pytest/results.xml
4-
py.test --cov=mopdb --cov-report xml:/tmp/artefacts/tests/pytest/coverage.xml --junit-xml /tmp/artefacts/tests/pytest/results.xml
3+
python -m pytest --cov=mopper --cov-report xml:/tmp/artefacts/tests/pytest/coverage.xml --junit-xml /tmp/artefacts/tests/pytest/results.xml
4+
python -m pytest --cov=mopdb --cov-report xml:/tmp/artefacts/tests/pytest/coverage.xml --junit-xml /tmp/artefacts/tests/pytest/results.xml
55

0 commit comments

Comments
 (0)