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

Switch deployment workflow to re-usable action. #126

Merged
merged 3 commits into from
Oct 21, 2023
Merged

Conversation

IAlibay
Copy link
Member

@IAlibay IAlibay commented Sep 3, 2023

This switches the deployment to a re-usable action for a little bit more consistency across our ecosystem, and also some additional tests.

@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8f06972) 87.55% compared to head (235ff1d) 87.55%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #126   +/-   ##
=======================================
  Coverage   87.55%   87.55%           
=======================================
  Files           5        5           
  Lines         747      747           
  Branches      127      127           
=======================================
  Hits          654      654           
  Misses         56       56           
  Partials       37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

repository_url: https://test.pypi.org/legacy/
token: ${{ secrets.TEST_PYPI_API_TOKEN }}
test_submission: true
package_name: 'gridData'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this gridDataFormats?

with:
password: ${{ secrets.PYPI_API_TOKEN }}
token: ${{ secrets.PYPI_API_TOKEN }}
package_name: 'gridData'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question above -- this variable is used for pip install, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it's used for the pytest --pyargs call, I think this is correct.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah wait I messed up somewhere

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blergh what a pain - I'll have to change the action to account for this... funilly enough it didn't trip up mda_xdrlib at all.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh I guess I never fully realised pip doesn't care between - and _ in package names.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I can't believe I keep spending the effort on typing underscores now 😂 better safe than sorry I guess

@IAlibay IAlibay mentioned this pull request Oct 21, 2023
6 tasks
Copy link
Member

@orbeckst orbeckst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try it.

@orbeckst orbeckst merged commit cb78c4c into master Oct 21, 2023
8 checks passed
@orbeckst orbeckst deleted the update-deploy branch October 21, 2023 19:12
@orbeckst orbeckst mentioned this pull request Oct 21, 2023
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.

3 participants