Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jan 11, 2023
1 parent ba14c75 commit 6d380e0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Deploy documentation
name: Deploy

on:
push:
branches:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on:
push:
pull_request:
workflow_dispatch:

jobs:
docs:
name: Test build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pip install --upgrade pip
- run: pip install -r docs/requirements.txt
- run: cd docs && sphinx-build -b html src _build
- run: pip install --pre jupyterlite
- run: |
mkdir -p docs/_build/_extra/
mkdir _dist/
jupyter lite build --contents ./jupyterlite/ --output-dir=./_dist/
mv ./_dist/* docs/_build/_extra/
- uses: actions/upload-artifact@v3
with:
name: release-candidate
path: _dist/

0 comments on commit 6d380e0

Please sign in to comment.