flav-io / flavio

A Python package for flavour physics phenomenology in the Standard model and beyond
http://flav-io.github.io/
MIT License
71 stars 62 forks source link

Add workflow #179

Closed DavidMStraub closed 2 years ago

DavidMStraub commented 2 years ago

This adds a basic unit test workflow.

I did not add coveralls yet - don't know how.

Using pytest instead of nose2, can be changed.

peterstangl commented 2 years ago

That's great! Thanks a lot @DavidMStraub! We can add coveralls back later.

peterstangl commented 2 years ago

@DavidMStraub, it looked quite good, but unfortunately, the tests are failing for different reasons: https://github.com/flav-io/flavio/actions/runs/1883183194

For Python 3.7 and 3.9 installation of flavio works but pytest is not found. The installation for 3.8 has been cancelled and I don't know why and 3.10 doesn't install because of https://github.com/DavidMStraub/rundec-python/issues/4

DavidMStraub commented 2 years ago

I'll take care of it, now that it runs it should be straightforward to fix/improve.

DavidMStraub commented 2 years ago

The installation for 3.8 has been cancelled and I don't know why

Github actions usually cancels all jobs as soon as one of them fails.