diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index b702d8c7..09e22c0a 100644 --- a/.github/workflows/docs-test.yml +++ b/.github/workflows/docs-test.yml @@ -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 diff --git a/docs/tutorials/requirements.txt b/docs/tutorials/requirements.txt new file mode 100644 index 00000000..f3cfa3c7 --- /dev/null +++ b/docs/tutorials/requirements.txt @@ -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 \ No newline at end of file