add paper badge, pdf and citation information (#64) #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --user --no-cache-dir Cython | |
pip install --user -r requirements.txt | |
- name: Install pydot | |
run: | | |
pip install pydot | |
- name: Install graphviz | |
run: | | |
sudo apt-get install graphviz | |
- name: Install pytest | |
run: | | |
pip install pytest | |
- name: PKG-TEST | |
run: | | |
pytest -v -s tests/ | |
- run: python -m pip install --upgrade pip | |
- run: pip install mkdocs-material mkdocstrings mkdocstrings-python-legacy mkdocs-git-revision-date-plugin mkdocs-jupyter mkdocs-bibtex mkdocs-git-revision-date-localized-plugin | |
- run: mkdocs gh-deploy --force |