Skip to content

Commit

Permalink
modifting ci/cd actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NDevanathan committed Sep 9, 2024
1 parent 6c8691a commit b35596e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/poetry-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to path
run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- run: poetry self add "poetry-dynamic-versioning[plugin]"
- run: poetry dynamic-versioning enable
- run: poetry install
- run: poetry run pytest
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/poetry-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to path
run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- run: poetry self add "poetry-dynamic-versioning[plugin]"
- run: poetry dynamic-versioning enable
- name: Install venv
run: poetry install
- name: Test
Expand Down

0 comments on commit b35596e

Please sign in to comment.