add a basic test case draft checking parsing of chamber loss_function… #1288
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: pdoc | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
deploy: | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
persist-credentials: false | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Build | |
run: | | |
pip install pdoc3 | |
pip install -e . | |
# FIXME #23: add -We | |
python -m pdoc --html PyPartMC | |
- name: Deploy | |
if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }} | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: pdoc | |
FOLDER: html/PyPartMC | |
CLEAN: true |