Skip to content

Commit b944f62

Browse files
committed
ci: use platformdirs for jupyter
Adds environment variable to acknowledge that we want to use `platformdirs` to determine which paths to use. See jupyter/jupyter_core#292 for more information.
1 parent cc55ba9 commit b944f62

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.github/workflows/pylake_docs_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: docs build
22

33
on: [push]
44

5+
env:
6+
JUPYTER_PLATFORM_DIRS: "1"
7+
58
jobs:
69
build_docs:
710
runs-on: ubuntu-latest

.github/workflows/pylake_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- v*
77

8+
env:
9+
JUPYTER_PLATFORM_DIRS: "1"
10+
811
jobs:
912
deploy:
1013
runs-on: ubuntu-latest

.github/workflows/pylake_test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: pytest
22

33
on: [push]
44

5+
env:
6+
# See: https://github.com/jupyter/jupyter_core/pull/292#issuecomment-1258284246
7+
JUPYTER_PLATFORM_DIRS: "1"
8+
59
jobs:
610
build:
711
runs-on: ${{ matrix.os }}

.github/workflows/pylake_test_no_notebook.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: no notebook deps
22

33
on: [push]
44

5+
env:
6+
JUPYTER_PLATFORM_DIRS: "1"
7+
58
jobs:
69
build_no_nb:
710
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)