Skip to content

CI: Use Pytest instead of Nose, update default build to Python 3.10#131

Merged
quaquel merged 2 commits intoquaquel:masterfrom
EwoutH:ci-pytest-py310
May 18, 2022
Merged

CI: Use Pytest instead of Nose, update default build to Python 3.10#131
quaquel merged 2 commits intoquaquel:masterfrom
EwoutH:ci-pytest-py310

Conversation

@EwoutH
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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