diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100755 index 0000000..d8b6316 --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,41 @@ +name: "Sphinx: Render docs" + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.x' + + - name: Install Sphinx & Dependencies + run: | + pip install sphinx sphinx_markdown_builder sphinx_rtd_theme sphinx-argparse m2r pandas bio + sudo apt-get install python3-distutils + - name: Build Documentation + working-directory: docs + run: sphinx-build . _build + - name: copy image files + run: cp -r docs/assets docs/_build/ + - uses: actions/upload-pages-artifact@v3 + with: + name: github-pages + path: docs/_build/ + + deploy: + needs: build + permissions: + id-token: write + pages: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/tests/data/survival_var_mini_screen.h5ad b/tests/data/survival_var_mini_screen.h5ad new file mode 100644 index 0000000..381e9c6 Binary files /dev/null and b/tests/data/survival_var_mini_screen.h5ad differ