Skip to content

Commit

Permalink
Create tutorials enviroment to execute the tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
tjstienstra committed Oct 12, 2023
1 parent 5ab4ece commit 53aad4b
Show file tree
Hide file tree
Showing 3 changed files with 792 additions and 612 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install pandoc
run: sudo apt-get install pandoc
run: |
sudo apt-get update
sudo apt-get install pandoc
- name: Create the tutorials' environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: docs/tutorials/tutorials_environment.yml
cache-environment: true
post-cleanup: 'all'
- name: Deactivate the tutorials environment
run: conda deactivate
- name: Install poetry
run: pipx install poetry==1.6.1
- name: Set up Python
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install pandoc
- name: Create the tutorials' environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: docs/tutorials/tutorials_environment.yml
cache-environment: true
post-cleanup: 'all'
- name: Deactivate the tutorials environment
run: conda deactivate
- name: Install poetry
run: pipx install poetry==1.6.1
- name: Set up Python
Expand Down
Loading

0 comments on commit 53aad4b

Please sign in to comment.