Skip to content

Commit b03fc29

Browse files
authored
Install a kernel on the machine when running flake tests (#167)
* Install a kernel on the machine * Add dependency to pr steps too
1 parent 7d068b7 commit b03fc29

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/flaky.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
python -m pip install --upgrade -r build/test-requirements.txt
127127
python -m pip install --upgrade -r ./build/ipython-test-requirements.txt
128128
python -m pip install --upgrade -r ./build/conda-functional-requirements.txt
129+
python -m ipykernel install --user
129130
130131
- name: Install dependencies (npm ci)
131132
run: npm ci --prefer-offline

.github/workflows/pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ jobs:
312312
python -m pip install --upgrade -r build/test-requirements.txt
313313
python -m pip install --upgrade -r ./build/ipython-test-requirements.txt
314314
python -m pip install --upgrade -r ./build/conda-functional-requirements.txt
315+
python -m ipykernel install --user
315316
# This step is slow.
316317
# If running the placeholder suite & not required to run any tests, then don't install python dependencies.
317318
if: matrix.test-suite != 'test-based-on-pr-body' || contains(github.event.pull_request.body, '[x] Run ')

0 commit comments

Comments
 (0)