File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ jobs:
3434 image : ghcr.io/pygem-community/pygem:${{ github.ref == 'refs/heads/master' && 'latest' || 'dev' }}
3535 options : --user root
3636 env :
37- GITHUB_NOTEBOOKS_PATH : $HOME /PyGEM-notebooks
37+ NOTEBOOKS_DIRPATH : ${{ github.workspace }} /PyGEM-notebooks
3838
3939 steps :
4040 - name : ' Checkout the PyGEM-notebooks repo'
4141 uses : actions/checkout@v4
4242 with :
4343 repository : ' pygem-community/PyGEM-notebooks'
44- path : ${{ env.GITHUB_NOTEBOOKS_PATH }}
44+ path : ${{ env.NOTEBOOKS_DIRPATH }}
4545
4646 - name : ' Checkout the PyGEM repo'
4747 id : checkout
Original file line number Diff line number Diff line change 44import pytest
55
66# Get all notebooks in the PyGEM-notebooks repository
7- nb_dir = os .environ .get ("GITHUB_NOTEBOOKS_PATH " ) or os .path .join (
7+ nb_dir = os .environ .get ("NOTEBOOKS_DIRPATH " ) or os .path .join (
88 os .path .expanduser ("~" ), "PyGEM-notebooks"
99)
1010notebooks = [f for f in os .listdir (nb_dir ) if f .endswith (".ipynb" )]
You can’t perform that action at this time.
0 commit comments