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

MAINT: Move pypi publish to dedicated workflow #1878

Merged
merged 1 commit into from Nov 23, 2022

Conversation

choldgraf
Copy link
Member

Currently we have a workflow embedded in tests.yml that is called only if a new release is made. However this shows us as "not run" in our test suite in github and messes with the passing tests condition.

This PR factors that out into a dedicated workflow file that is run on publish and calls our test suite before running the publish command. That should mean the "Publish to PyPI" action never gets run unless we are publishing.

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

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

Coverage data is based on head (8bead82) compared to base (795c4b5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1878   +/-   ##
=======================================
  Coverage   91.39%   91.39%           
=======================================
  Files           7        7           
  Lines         686      686           
=======================================
  Hits          627      627           
  Misses         59       59           
Flag Coverage Δ
pytests 91.39% <ø> (ø)

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.

@choldgraf
Copy link
Member Author

I'm gonna merge this one in so that our PRs stop having an "unfinished" job in them...we'll need to test it out at the time of a release so we might have something to do then but it'll be hard to figure out in this PR.

@choldgraf choldgraf merged commit d162650 into executablebooks:master Nov 23, 2022
@choldgraf choldgraf deleted the maint-publish-action branch November 23, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant