pvlib / twoaxistracking

twoaxistracking is a python package for simulating two-axis tracking solar collectors, particularly self-shading.
http://twoaxistracking.rtfd.io/
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Add py3.11 to test matrix #38

Closed kandersolar closed 1 year ago

kandersolar commented 1 year ago

Would it make sense to also have the tests run on a cron schedule, e.g., once a week or month?

I think running them once a week or so is a good idea. What's a good way to make test failures noisy enough to make us notice? I think it's possible to have a CI job open github issues. Maybe just emailing us is enough.

AdamRJensen commented 1 year ago

I think running them once a week or so is a good idea. What's a good way to make test failures noisy enough to make us notice? I think it's possible to have a CI job open github issues. Maybe just emailing us is enough.

How about adding a cron schedule to the GitHub Actions? The below example would run at 00:00 every Sunday.

on:
  schedule:
    - cron: '0 0 * * 0'

In case of failure, wouldn't that email us? I think that should be sufficient - no need for a complicated workflow that creates an issue.

kandersolar commented 1 year ago

In case of failure, wouldn't that email us?

I don't receive email notifications for CI failures in any other job. Probably it's possible to get them somehow. I would only want to enable them if they can be enabled per repo or even per workflow though :)

AdamRJensen commented 1 year ago

I don't receive email notifications for CI failures in any other job. Probably it's possible to get them somehow. I would only want to enable them if they can be enabled per repo or even per workflow though :)

Good point - let's tackle this in another issue/PR since it's not time-sensitive and does not require a new release.

AdamRJensen commented 1 year ago

Thanks, @kanderso-nrel - you're a champ!