From 51fbe3ba773f479206ac804df9ba86e5f9186cf8 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7f0d11a..12a9b25 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: @@ -28,7 +28,7 @@ jobs: uses: MDAnalysis/pypi-deployment@main if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') with: - test_submission: true + test_submission: false package_name: 'GromacsWrapper' module_name: 'gromacs' @@ -41,7 +41,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: @@ -51,5 +51,6 @@ jobs: uses: MDAnalysis/pypi-deployment@main if: github.event_name == 'release' && github.event.action == 'published' with: + test_submission: false package_name: 'GromacsWrapper' module_name: 'gromacs'