moble / scri

Python/numba code for manipulating time-dependent functions of spin-weighted spherical harmonics on future null infinity
MIT License
18 stars 20 forks source link

Use Github Actions to automate testing with pytest #51

Closed 10220 closed 3 years ago

10220 commented 3 years ago

This will automatically run our tests with pytest whenever a commit is pushed. It will also run on Pull Requests. I'm not sure if the azure pipeline is required for how scri is deployed to conda-forge so I left that alone for now.

In this PR I've also fixed a few bugs that flake8 caught and I trim up some trailing whitespace.

moble commented 3 years ago

This looks good, though I'm not sure why it didn't run the action. Maybe it's being blocked by the older CI stuff? Anyway, this would be a good time to remove that: the directories

and the files

10220 commented 3 years ago

@moble I added a commit that removes the old testing infrastructure but the new tests still are not running. I can confirm that the new tests work on my fork. I guess it needs to be merged before the tests will actually run? :man_shrugging:

moble commented 3 years ago

Worth a shot...

moble commented 3 years ago

Yep. It's started now. Thanks!