Skip to content

Commit 59e74b0

Browse files
committed
fix pytest install
1 parent 5c7ffd6 commit 59e74b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip check-manifest
3030
pip install pytest-cov
31-
pip install .
31+
pip install ".[test]"
3232
python -m ipykernel.kernelspec --user
3333
- name: Test with pytest
3434
run: |
35-
pytest --cov jupyter_console
35+
pytest --cov jupyter_console || pytest jupyter_console --lf
3636
- name: Check Manifest
3737
run: |
3838
check-manifest
@@ -64,4 +64,5 @@ jobs:
6464
dependency_type: minimum
6565
- name: Run the unit tests
6666
run: |
67-
pytest
67+
pip install pytest
68+
pytest || pytest --lf

0 commit comments

Comments
 (0)