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: Use Pytest instead of Nose, update default build to Python 3.10 #131

Merged
merged 2 commits into from
May 18, 2022

Conversation

EwoutH
Copy link
Collaborator

@EwoutH EwoutH commented May 18, 2022

I checked with nose2pytest if there were any test that needed to be rewritten, and that wasn't the case. After that migrating to Pytest was quite simple, just looking up the right equivalent CLI parameters.

This PR also updates the default build (with Ubuntu, macOS and Windows) to Python 3.10, since that now works.

At some point we should probably create a workflow to test the connectors, but that's something for another time.

Closes #128.

@coveralls
Copy link

coveralls commented May 18, 2022

Coverage Status

Coverage decreased (-0.03%) to 80.44% when pulling 72ae7a0 on EwoutH:ci-pytest-py310 into 5e03fd9 on quaquel:master.

@quaquel quaquel closed this May 18, 2022
@quaquel quaquel reopened this May 18, 2022
@quaquel quaquel merged commit ebc62ca into quaquel:master May 18, 2022
@quaquel
Copy link
Owner

quaquel commented May 18, 2022

I agree on the connectors. Have been debating on how to do this for a while. You can mock everything, but that partly defeats the purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate away from Nose testing (to Pytest or other)
3 participants