Skip to content

Commit f6a43ac

Browse files
committed
Fix: must add the tests dir explicitely when calling pytest
1 parent e96cc5c commit f6a43ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/run-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
- name: Test with pytest
3333
run: |
3434
export PYTHONPATH=$(pwd)/build/lib
35-
python -m pytest
35+
python -m pytest tests

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Installation
5757

5858
3. Test (optional)::
5959

60-
$ PYTHONPATH=build/lib python -m pytest
60+
$ PYTHONPATH=build/lib python -m pytest tests
6161

6262
4. Install::
6363

doc/src/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Installation
4343

4444
3. Test (optional)::
4545

46-
$ python -m pytest
46+
$ python -m pytest tests
4747

4848
4. Install::
4949

0 commit comments

Comments
 (0)