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

Deploy wheels to PyPI when pushing tags #248

Merged
merged 4 commits into from Feb 16, 2023
Merged

Deploy wheels to PyPI when pushing tags #248

merged 4 commits into from Feb 16, 2023

Conversation

dalonsoa
Copy link
Collaborator

The current deploy workflow was obsolete and it was not being triggered when pushing tags to the repo, which is precisely the condition required to trigger the upload. So, it was an impossible situation.

This PR adds pushing tags as a trigger of the workflow and separates the publishing step as a separate job, using download-artefact and gh-action-pypi-publish actions to make the process more robust.

@dalonsoa
Copy link
Collaborator Author

Some tests are failing, which is odd because I haven't changed a comma in any file other than the deploy workflow one...

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Merging #248 (b78d26e) into develop (fcd8c29) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #248   +/-   ##
========================================
  Coverage    57.12%   57.12%           
========================================
  Files          103      103           
  Lines        11621    11621           
========================================
  Hits          6639     6639           
  Misses        4982     4982           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@phoebe-p
Copy link
Member

Don’t worry about the failing tests, it happens sometimes randomly with the scheduled testing as well. I mean, this is quite worrying in itself, but it is not caused by these changes…

@phoebe-p phoebe-p merged commit 1dfeac3 into develop Feb 16, 2023
@phoebe-p phoebe-p deleted the deploy_workflow branch February 17, 2023 04:12
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

2 participants