Skip to content

Commit

Permalink
fix tutorial deps
Browse files Browse the repository at this point in the history
  • Loading branch information
younik committed Oct 23, 2024
1 parent 83f0df1 commit 7958833
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@ jobs:
- name: Install dependencies
run: pip install -r docs/requirements.txt

- name: Build documentation
run: sphinx-build -b dirhtml -v docs _build

- name: Install Minari
run: pip install .[all,testing]

- name: Build
run: sphinx-build -b dirhtml -v docs _build

- name: Run markdown documentation tests
run: pytest tests/test_docs.py

- name: Install tutorial dependencies
run: pip install -r docs/tutorials/requirements.txt

- name: Run tutorial documentation tests
run: pytest --nbmake docs/tutorials/**/*.ipynb --nbmake-timeout=600
7 changes: 7 additions & 0 deletions docs/tutorials/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
torch
torchrl
matplotlib
gymnasium-robotics>=1.2.1
minigrid>=2.2.0
rl_zoo3>=2.0.0
imageio>=2.14.1

0 comments on commit 7958833

Please sign in to comment.