Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Publish to TestPyPI on tag or by workflow dispatch trigger #176

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

matthewfeickert
Copy link
Member

Resolves #151

  • Publish to TestPyPI on push events where a tag is pushed that starts with a 'v' (release tags of form vX.Y.Z) or on workflow dispatch events where the maintainer running the workflow has selected the 'true' option from the drop-down menu for whether to publish.
    • The workflow dispatch option defaults to 'false' to avoid accidental publishing.
  • Update development docs to reflect that not every commit is published to TestPyPI

* Publish to TestPyPI on push events where a tag is pushed that starts with
a 'v' (release tags of form vX.Y.Z) or on workflow dispatch events where the
maintainer running the workflow has selected the 'true' option from the
drop-down menu for whether to publish.
   - The workflow dispatch option defaults to 'false' to avoid accidental
     publishing.
* Update development docs to reflect that not every commit is published to
TestPyPI
@matthewfeickert matthewfeickert added the CI Continuous Integration label Jan 4, 2023
@matthewfeickert matthewfeickert self-assigned this Jan 4, 2023
@codecov
Copy link

codecov bot commented Jan 4, 2023

Codecov Report

Base: 85.71% // Head: 85.71% // No change to project coverage 👍

Coverage data is based on head (a4d8ffa) compared to base (dc7ffb4).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #176   +/-   ##
=======================================
  Coverage   85.71%   85.71%           
=======================================
  Files           2        2           
  Lines         217      217           
  Branches       48       48           
=======================================
  Hits          186      186           
  Misses         27       27           
  Partials        4        4           
Flag Coverage Δ
unittests-3.10 85.25% <ø> (ø)
unittests-3.7 84.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@matthewfeickert matthewfeickert merged commit e841706 into main Jan 4, 2023
@matthewfeickert matthewfeickert deleted the ci/publish-to-test-pypi-on-release branch January 4, 2023 22:23
@matthewfeickert matthewfeickert mentioned this pull request Jan 4, 2023
matthewfeickert added a commit that referenced this pull request Jan 4, 2023
* Fix indent error from PR #176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Limit TestPyPI usage to release candidate testing
1 participant