openclimatefix / PVConsumer

Consumer PV data from various sources
Apache License 2.0
3 stars 1 forks source link

Bring back the "liveapi" tests #54

Closed simlmx closed 1 year ago

simlmx commented 1 year ago

Description

Currently we are skipping the tests marked liveapi in the CI because they fail with this error:

  def _get_param_from_config_file(param_name, config_filename=CONFIG_FILENAME):
>       with open(config_filename, mode="r") as fh:
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.pvoutput.yml'

How to reproduce

Remove -m "not liveapi" in the workflow and push the code in a new branch.

Acceptance criteria

-m "not liveapi" is removed from the workflow and the CI passes.

peterdudfield commented 1 year ago

in #58