Skip to content

Merge pull request #220 from lifeomic/dependabot/pip/idna-3.7 #80

Merge pull request #220 from lifeomic/dependabot/pip/idna-3.7

Merge pull request #220 from lifeomic/dependabot/pip/idna-3.7 #80

Workflow file for this run

name: Release SDK
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry==1.5.1
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8" # pdoc works under this version
cache: "poetry"
- run: poetry install
- run: |
poetry run poe lint
poetry run pytest
poetry run poe doc
- name: Publish to PyPi
env:
TWINE_USERNAME: ${{ secrets.LIFEOMIC_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.LIFEOMIC_PYPI_TOKEN }}
run: |
./publish.sh
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: doc/build/phc