From 7502df6c4813669740b51b4e53a594ad84b691c8 Mon Sep 17 00:00:00 2001 From: matteocao <38946719+matteocao@users.noreply.github.com> Date: Wed, 8 Nov 2023 13:25:13 +0000 Subject: [PATCH 1/5] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f22e52f..6656cd3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -38,7 +38,7 @@ jobs: - name: Build run: | python -m build - pip install /dist/*.whl + pip install dist/*.whl - name: Integration tests run: | for n in examples/*.py From 3e7ef6b3d64152cf741667987b6905c0cade55ff Mon Sep 17 00:00:00 2001 From: matteocao <38946719+matteocao@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:05:43 +0100 Subject: [PATCH 2/5] Update python-publish.yml --- .github/workflows/python-publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ea07650..4edd6ca 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -8,9 +8,7 @@ name: Upload Python Package -on: - release: - types: [published] +on: [workflow_dispatch] permissions: contents: read From 33e6bf6989fd887168046e5a1985316da575eb86 Mon Sep 17 00:00:00 2001 From: matteocao <38946719+matteocao@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:08:05 +0100 Subject: [PATCH 3/5] Update python-publish.yml --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4edd6ca..c73de79 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build + pip install build twine - name: Build package run: python -m build - name: Publish package From e7b709705c88118089cb0e27957ae5fc9d82373d Mon Sep 17 00:00:00 2001 From: matteocao <38946719+matteocao@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:11:17 +0100 Subject: [PATCH 4/5] Update python-package.yml --- .github/workflows/python-package.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6656cd3..ecfa6e9 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -39,10 +39,4 @@ jobs: run: | python -m build pip install dist/*.whl - - name: Integration tests - run: | - for n in examples/*.py - do - python $n - done From 116e86ad46f9f6e4b5392de257e86c9b7c35d836 Mon Sep 17 00:00:00 2001 From: matteocao <38946719+matteocao@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:11:45 +0100 Subject: [PATCH 5/5] Update python-publish.yml --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c73de79..e3ff212 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -36,4 +36,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | twine check dist/* - # twine upload dist/* + twine upload dist/*