From a628e2f9e1564940a4b009e5b4364e46295eadc8 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Wed, 18 Sep 2024 18:24:45 -0700 Subject: [PATCH] do not test deployed packages Disable testing after deployment to TestPyPi/PyPi because tests require a working GROMACS installation. GROMACS binary packages are not available on PyPi, which are the only packages that the action is able to install. MAKE SURE TO MANUALLY TEST A TestPyPi PACKAGE BEFORE RELEASE. --- .github/workflows/deploy.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7f0d11a..48670f3 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,7 +18,7 @@ jobs: if: | github.repository == 'Becksteinlab/GromacsWrapper' && (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) - name: "TestPyPi: Build, upload, and test pure Python wheels" + name: "TestPyPi: Build and upload pure Python wheels" runs-on: ubuntu-latest steps: @@ -31,7 +31,8 @@ jobs: test_submission: true package_name: 'GromacsWrapper' module_name: 'gromacs' - + tests: false + pypi_push: environment: name: PyPi @@ -41,7 +42,7 @@ jobs: if: | github.repository == 'Becksteinlab/GromacsWrapper' && (github.event_name == 'release' && github.event.action == 'published') - name: "PyPi: Build, upload, and test pure Python wheels" + name: "PyPi: Build and upload pure Python wheels" runs-on: ubuntu-latest steps: @@ -50,6 +51,7 @@ jobs: - name: pypi_deploy uses: MDAnalysis/pypi-deployment@main if: github.event_name == 'release' && github.event.action == 'published' - with: + with: package_name: 'GromacsWrapper' module_name: 'gromacs' + tests: false