Skip to content

Commit a9dc0f7

Browse files
committed
Update calls to pytest in circle ci for dependency issues
1 parent 5ce2f3e commit a9dc0f7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ commands:
2424
name: Test core
2525
command: |
2626
. venv/bin/activate
27-
pytest plotly/tests/test_core
27+
python -m pytest plotly/tests/test_core
2828
no_output_timeout: 20m
2929

3030
test_optional:
@@ -55,36 +55,36 @@ commands:
5555
name: Test core
5656
command: |
5757
. venv/bin/activate
58-
pytest plotly/tests/test_core
58+
python -m pytest plotly/tests/test_core
5959
no_output_timeout: 20m
6060
- run:
6161
name: Test optional
6262
command: |
6363
. venv/bin/activate
64-
pytest plotly/tests/test_optional
64+
python -m pytest plotly/tests/test_optional
6565
no_output_timeout: 40m
6666
- run:
6767
name: Test utils
6868
command: |
6969
. venv/bin/activate
70-
pytest _plotly_utils/tests/
70+
python -m pytest _plotly_utils/tests/
7171
no_output_timeout: 20m
7272
- run:
7373
name: Test io
7474
command: |
7575
. venv/bin/activate
76-
pytest plotly/tests/test_io
76+
python -m pytest plotly/tests/test_io
7777
no_output_timeout: 20m
7878
- run:
7979
name: Test dependencdies not imported
8080
command: |
8181
. venv/bin/activate
82-
pytest -x test_init/test_dependencies_not_imported.py
82+
python -m pytest -x test_init/test_dependencies_not_imported.py
8383
- run:
8484
name: Test lazy imports
8585
command: |
8686
. venv/bin/activate
87-
pytest -x test_init/test_lazy_imports.py
87+
python -m pytest -x test_init/test_lazy_imports.py
8888
test_orca:
8989
parameters:
9090
py:
@@ -118,7 +118,7 @@ commands:
118118
name: Test orca
119119
command: |
120120
. venv/bin/activate
121-
pytest plotly/tests/test_orca
121+
python -m pytest plotly/tests/test_orca
122122
no_output_timeout: 20m
123123
- store_artifacts:
124124
path: plotly/tests/test_orca/images/linux/failed
@@ -329,7 +329,7 @@ jobs:
329329
command: |
330330
. venv/bin/activate
331331
locale
332-
pytest -k 'not nodev' plotly/tests/test_core
332+
python -m pytest -k 'not nodev' plotly/tests/test_core
333333
no_output_timeout: 20m
334334
- run:
335335
name: Commit

0 commit comments

Comments
 (0)