Skip to content

Commit

Permalink
Merge pull request #222 from neutrinoceros/continuously_test_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros authored Nov 1, 2023
2 parents 2c65e1b + 3402902 commit 283695f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,31 @@ jobs:
name: nonos_pytest_mpl_new_baseline
path: nonos_pytest_mpl_new_baseline/*
if-no-files-found: ignore


docs:
runs-on: ubuntu-latest
name: docs

concurrency:
group: ${{ github.ref }}-docs
cancel-in-progress: true

steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11' # TODO: bump to 3.x (require up-to-date dependencies)
- name: Setup env
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements/docs.txt
- name: Build
run: |
python -m mkdocs build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: site
path: site
2 changes: 2 additions & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
. # install nonos too

mkdocs==1.5.3
mkdocs-material==8.5.10
mkdocs-include-markdown-plugin==4.0.3
Expand Down

0 comments on commit 283695f

Please sign in to comment.