Add pdc subject and study adapters #493
Workflow file for this run
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: Build docs | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- uses: actions/cache@preview | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: ${{ runner.os }}-poetry-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }} | |
restore-keys: | | |
${{ runner.os }}-poetry- | |
- name: Install dependencies (allow "failures" and attempt to continue) | |
run: | | |
pip install poetry | |
pip list | |
which poetry | |
poetry install -vv --no-interaction | |
poetry show -vv | |
- name: Build docs | |
env: | |
USE_AGG_MDS: true # so the aggregate MDS docs are added | |
run: poetry run python run.py openapi | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: Apply automatic documentation changes | |
# Optional name of the branch the commit should be pushed to | |
# Required if Action is used in Workflow listening to the `pull_request` event | |
branch: ${{ github.head_ref }} |