-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Victor Chang <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ jobs: | |
- name: Install library and dependencies | ||
run: | | ||
poetry run pip install --upgrade pip setuptools | ||
poetry install --with test | ||
poetry -vvv install --with test | ||
- name: Run pre-commit Check | ||
uses: pre-commit/[email protected] | ||
|
@@ -173,19 +173,27 @@ jobs: | |
touch output/file | ||
holoscan run -r $(docker images | grep "test-app-python" | awk '{print $1":"$2}') -i input -o output | ||
# testpypi-deploy: | ||
# name: Build and publish Python 🐍 distributions 📦 to TestPyPI | ||
# runs-on: ubuntu-latest | ||
# needs: test | ||
# steps: | ||
|
||
# - name: Checkout repository | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Publish distribution 📦 to Test PyPI | ||
# uses: JRubics/[email protected] | ||
# continue-on-error: true | ||
# with: | ||
# pypi_token: ${{ secrets.TEST_PYPI_PASSWORD }} | ||
# repository_name: 'testpypi' | ||
# repository_url: 'https://test.pypi.org/legacy/' | ||
testpypi-deploy: | ||
name: publish-test-pypi | ||
runs-on: ubuntu-latest | ||
needs: [pre-commit, test] | ||
permissions: | ||
id-token: write | ||
steps: | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Poetry | ||
uses: Gr1N/setup-poetry@v9 | ||
|
||
- name: Build | ||
run: | | ||
poetry build | ||
rm dist/*.tar.gz | ||
- name: Publish package distributions to TestPyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
repository-url: https://test.pypi.org/legacy/ | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters