Skip to content

Commit

Permalink
fix initialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Dec 7, 2024
1 parent 7b3ebd3 commit 7cae075
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/jupyter-notebooks-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Initialize Conda
shell: bash
run: |
eval "$(command conda 'shell.bash' 'hook')"
conda init bash
- name: Activate Conda Environment
shell: bash
run: |
eval "$(command conda 'shell.bash' 'hook')" # Load Conda for the current shell
conda activate ${{ inputs.environment-path }}
conda info
conda list
- name: Test Jupyter Notebook
shell: bash -el {0}
shell: bash
run: |
conda activate test
eval "$(command conda 'shell.bash' 'hook')"
conda activate ${{ inputs.environment-path }}
pip install -e .
pytest --nbval -k ".ipynb"

0 comments on commit 7cae075

Please sign in to comment.