Skip to content

Commit

Permalink
Install dependencies without docs
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Aug 28, 2023
1 parent 34b81ce commit fc92ceb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install poetry
run: pipx install poetry

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
cache: "poetry"
cache-dependency-path: poetry.lock


- name: Install dependencies
run: poetry install --without docs

- name: Build project
run: |
poetry build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pypi-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
cache: "poetry"
cache-dependency-path: poetry.lock

- name: Install dependencies
run: poetry install --without docs

- name: Build and publish on pypi.org
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down

0 comments on commit fc92ceb

Please sign in to comment.