Skip to content

Commit

Permalink
fix: poetry shell activation
Browse files Browse the repository at this point in the history
  • Loading branch information
arjendev committed Dec 8, 2023
1 parent 44e3a5f commit 6451d58
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,22 @@ jobs:
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
source .venv/bin/activate
poetry shell
poetry install --no-interaction --no-root
#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install project
run: |
source .venv/bin/activate
poetry install --no-interaction
poetry shell
poetry install --no-interaction
#----------------------------------------------
# run test suite
#----------------------------------------------
- name: Run tests
run: |
source .venv/bin/activate
poetry run pytest .
run: poetry run pytest .
- name: Set build version and build package
run: |
source .venv/bin/activate
poetry version 0.0.0.alpha${{ github.run_number}}
poetry build
- name: Publish package distributions to PyPI
Expand Down

0 comments on commit 6451d58

Please sign in to comment.