Skip to content

Commit 9774ff3

Browse files
committed
CI: Run tests from spyder-notebook directory
This fixes a bug in commit e2fae39 from the previous PR which broke the CI tests.
1 parent 2268a81 commit 9774ff3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ jobs:
9999
shell: bash
100100
command: |
101101
. ~/.profile
102-
xvfb-run --auto-servernum pytest spyder-notebook/spyder_notebook -vv
102+
cd spyder-notebook
103+
xvfb-run --auto-servernum pytest spyder_notebook -vv
103104
- name: Run tests (MacOS)
104105
if: matrix.OS == 'macos'
105106
uses: nick-fields/retry@v3
@@ -109,11 +110,14 @@ jobs:
109110
shell: bash
110111
command: |
111112
. ~/.profile
112-
pytest spyder-notebook/spyder_notebook -vv
113+
cd spyder-notebook
114+
pytest spyder_notebook -vv
113115
- name: Run tests (Windows)
114116
if: matrix.OS == 'windows'
115117
uses: nick-fields/retry@v3
116118
with:
117119
timeout_minutes: 10
118120
max_attempts: 3
119-
command: pytest spyder-notebook/spyder_notebook -vv
121+
command: |
122+
cd spyder-notebook
123+
pytest spyder_notebook -vv

0 commit comments

Comments
 (0)