Skip to content

Commit

Permalink
chore: Update docs and publish pipelines to use poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenathnair committed Sep 3, 2024
1 parent 4e5f658 commit 017b1b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
with:
python-version: "3.10"
- run: |
pip install rdkit
pip install -e ".[docs]"
pip install poetry
poetry install --with docs
- run: |
cd doc
make html
poetry run make html
- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install poetry
poetry install
- name: Build package
run: python -m build
run: poetry build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down

0 comments on commit 017b1b2

Please sign in to comment.