pommes-public / pommesdispatch

A bottom-up fundamental power market model for the German electricity sector
Other
6 stars 1 forks source link

Integrate build and coverage tests #29

Closed jokochems closed 2 years ago

jokochems commented 2 years ago

This serves to integrate a build and a coverage test into the CI pipeline.

jokochems commented 2 years ago

The poetry build check was taken from this repository: https://github.com/abatilo/actions-poetry and is working. But it covers a limited number of python versions and OS (e.g. not including Python 3.9 or ubuntu-latest). The coverage check is not working yet, though.

jokochems commented 2 years ago

Okay, this works for now. It includes the following:

I think, it is a good start. @yannickwerner: Since it already builds on the pommesdata updates, I'll merge it into that branch and we can build up from that.

If black causes you any trouble, just fire up a console, activate your environment, navigate to the top level and use

pip install black
black .

This will format all python files.