Release 1.1.0 #12
Workflow file for this run
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
name: Build and upload to PyPi | |
on: | |
push: | |
tags: | |
- "*" | |
release: | |
types: | |
- published | |
jobs: | |
testpypi_push: | |
environment: | |
name: deploy | |
url: https://test.pypi.org/p/pathsimanalysis | |
permissions: | |
id-token: write | |
if: | | |
github.repository == 'MDAnalysis/PathSimAnalysis' && | |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) | |
name: Build, upload and test pure Python wheels to TestPyPi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: testpypi_deploy | |
uses: MDAnalysis/pypi-deployment@main | |
with: | |
test_submission: true | |
tests: true | |
test_deps: 'pytest MDAnalysisTests' | |
package_name: 'pathsimanalysis' | |
pypi_push: | |
environment: | |
name: deploy | |
url: https://pypi.org/p/pathsimanalysis | |
permissions: | |
id-token: write | |
if: | | |
github.repository == 'MDAnalysis/PathSimAnalysis' && | |
(github.event_name == 'release' && github.event.action == 'published') | |
name: Build, upload and test pure Python wheels to PyPi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: pypi_deploy | |
uses: MDAnalysis/pypi-deployment@main | |
with: | |
package_name: 'pathsimanalysis' | |
tests: false |