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: add pypi package check #72

Merged
merged 6 commits into from
Sep 27, 2022
Merged

CI: add pypi package check #72

merged 6 commits into from
Sep 27, 2022

Conversation

orbeckst
Copy link
Member

partially addresses #62

@orbeckst
Copy link
Member Author

our CI is not running on PRs so mainly I want to find out why

@codecov
Copy link

codecov bot commented Sep 27, 2022

Codecov Report

Merging #72 (6adcd88) into master (5d4dcaf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   90.13%   90.13%           
=======================================
  Files          11       11           
  Lines         152      152           
  Branches       19       19           
=======================================
  Hits          137      137           
  Misses         15       15           
Flag Coverage Δ
unittests 90.13% <ø> (ø)

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.

- run all supported on ubuntu-latest
- only run macOS-latest on 2.7 and lowest/highest supported 3.x
- only run windows-latest on 2.7 and lowest/highest supported 3.x
@orbeckst
Copy link
Member Author

@xiki-tempula could you have a quick look? I'd like to merge soon, mostly to ensure that we have CI running because at the moment, other PRs such as #71 don't run tests.

Copy link
Collaborator

@xiki-tempula xiki-tempula left a comment

Choose a reason for hiding this comment

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

This would be a very good way of checking of the files are actually being included. Some questions.

@@ -26,14 +26,23 @@ jobs:
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

python-version: ["3.7", "3.8", "3.9", "3.10"]

Copy link
Member Author

Choose a reason for hiding this comment

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

We can do NEP29 for alchemtest but to be honest, as long as it works I'm ok with just testing on supported platforms.

If you want to follow NEP29, open an issue.

.github/workflows/CI.yaml Outdated Show resolved Hide resolved
.github/workflows/CI.yaml Show resolved Hide resolved
@orbeckst
Copy link
Member Author

This would be a very good way of checking of the files are actually being included.

This PR does not really check that all files are included. It only checks that we can build the sdist.

We'd need to build the package, install, run tests for the installed package. Not very difficult but just more than I have time for right now.

@orbeckst orbeckst self-assigned this Sep 27, 2022
@orbeckst orbeckst merged commit 6eda6eb into master Sep 27, 2022
@orbeckst orbeckst deleted the ci-check-package branch September 27, 2022 20:17
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.

2 participants