fhs / pyhdf

Python wrapper around the NCSA HDF version 4 library
https://pypi.org/project/pyhdf/
Other
46 stars 15 forks source link

Add tests in Github Actions. #56

Closed sbrodehl closed 2 years ago

sbrodehl commented 2 years ago

This PR adds tests in Github Actions, and replaces the Travis pipeline.

I don't know much about nose, but it has been in maintenance mode for the past several years and is missing support for python >=3.10, so I think the testing system needs an upgrade.

Edit: It also partly replaces the Appveyor pipeline, since the tests are run on MacOS, Ubuntu and Windows.

fhs commented 2 years ago

I don't know much about nose, but it has been in maintenance mode for the past several years and is missing support for python >=3.10, so I think the testing system needs an upgrade.

We may be able to use pytest to run nose tests. See https://docs.pytest.org/en/7.1.x/how-to/nose.html

sbrodehl commented 2 years ago

Yes, you are right! I removed nose as a dependency and used pytest instead.

This PR tests on MacOS, Ubuntu and Windows, and as noted in #55, it partly replaces the Appveyor pipeline.