Skip to content

Commit

Permalink
add workflow to test python docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
zolutal committed Jan 13, 2024
1 parent 014d0f0 commit cc149f0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
pdocs:
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v3

- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'

- run: pip install maturin pdoc

- run: maturn build

- run: pip install --no-index --find-links target/wheels/ dwat

- run: pdoc -o docs/ python_stubs/dwat

- uses: actions/upload-pages-artifact@v1
with:
path: docs/

0 comments on commit cc149f0

Please sign in to comment.