Skip to content

Commit

Permalink
do not test deployed packages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
orbeckst committed Sep 19, 2024
1 parent d6bbcfd commit 51fbe3b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'

Expand All @@ -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:
Expand All @@ -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'

0 comments on commit 51fbe3b

Please sign in to comment.