Skip to content

Commit

Permalink
fix permission issues when running notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelab committed Feb 9, 2024
1 parent b52c46b commit a4ec7bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
run: |
mkdir build
cd build
cmake .. -DENABLE_PYTHON=True -DPython_EXECUTABLE=${{ matrix.config.py }} -DENABLE_TESTING=Off -DENABLE_SWIG_BUILTIN=${{ matrix.config.swig_builtin }} -DSIMD_EXTENSIONS=native
cmake .. -DCMAKE_INSTALL_PREFIX=/home/runner/work/CRPropa3/CRPropa3/build -DENABLE_PYTHON=True -DPython_EXECUTABLE=${{ matrix.config.py }} -DENABLE_TESTING=Off -DENABLE_SWIG_BUILTIN=${{ matrix.config.swig_builtin }} -DSIMD_EXTENSIONS=native
- name: Build CRPropa
run: |
cd build
make install -j
- name: convert notebooks to python
env:
PYTHONPATH: "/home/runner/.local/lib/python3.10/site-packages/"
PYTHONPATH: "/home/runner/work/CRPropa3/CRPropa3/build"
runfolder: "/home/runner/notebook_run"
run: |
mkdir "$runfolder"
Expand All @@ -58,7 +58,7 @@ jobs:
done
- name: run all python scripts
env:
PYTHONPATH: "/home/runner/.local/lib/python3.10/site-packages/"
PYTHONPATH: "/home/runner/work/CRPropa3/CRPropa3/build"
runfolder: "/home/runner/notebook_run"
run: |
cp doc/pages/example_notebooks/galactic_lensing/crpropa_output.txt "$runfolder"/
Expand Down

0 comments on commit a4ec7bc

Please sign in to comment.