Skip to content

Commit

Permalink
fix(ci): add poetry publish command to the release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
samiralavi committed Feb 16, 2024
1 parent bdd7d2e commit 155d87d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
with:
python-version: 3.8

- name: Build Release Test Containers
- name: Build Release Artifacts
run: ci/build_release.sh -t ${{ inputs.version }}

- name: Push package to Pypi
run: |
poetry config pypi-token.pypi ${{ secrets.AQUEDUCTHUB_PYPI_TOKEN }}
poetry config pypi-token.pypi ${{ secrets.AQUEDUCTHUB_PYPI_TOKEN }} \
&& poetry publish
- name: Create release and upload artifacts
uses: ncipollo/release-action@v1.12.0
Expand Down
2 changes: 1 addition & 1 deletion ci/build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ echo "Installing poetry"
fi

echo "Create sdist"
poetry build -f sdist
poetry build
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aqueductpy"
version = "0.0.1"
version = "0.0.2"
description = "Aqueduct Python Client Library"
authors = ["Aqueduct Team <aqueduct@riverlane.com>"]
license = "MIT"
Expand Down

1 comment on commit 155d87d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
aqueductpy
   exceptions.py17853%10–11, 18–19, 26–27, 34–35
   experiment.py53198%75
aqueductpy/client
   client.py1101685%74, 117, 120, 160, 216–224, 294–295, 298, 335–339, 358
   types.py39197%19
TOTAL2582690% 

Tests Skipped Failures Errors Time
16 0 💤 0 ❌ 0 🔥 2.324s ⏱️

Please sign in to comment.