Skip to content

Commit

Permalink
ci: use platformdirs for jupyter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JoepVanlier committed Nov 9, 2022
1 parent cc55ba9 commit b944f62
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pylake_docs_test.yml
Expand Up @@ -2,6 +2,9 @@ name: docs build

on: [push]

env:
JUPYTER_PLATFORM_DIRS: "1"

jobs:
build_docs:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pylake_release.yml
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- v*

env:
JUPYTER_PLATFORM_DIRS: "1"

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pylake_test.yml
Expand Up @@ -2,6 +2,10 @@ name: pytest

on: [push]

env:
# See: https://github.com/jupyter/jupyter_core/pull/292#issuecomment-1258284246
JUPYTER_PLATFORM_DIRS: "1"

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pylake_test_no_notebook.yml
Expand Up @@ -2,6 +2,9 @@ name: no notebook deps

on: [push]

env:
JUPYTER_PLATFORM_DIRS: "1"

jobs:
build_no_nb:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b944f62

Please sign in to comment.