Check estimated seasons monthly, and write the season steps into the audit

This commit is contained in:
swaits committed 2026-11-20 13:26:51 -07:00
1 parent e95131833b
commit 33ca4c218f
3 files changed
+118

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
name: Season check
# Once a month, rerun the machine estimate for every estimated season and the fit against the
# sourced seasons. A failure lists the estimates whose inputs have changed; see docs/audit.md.
on:
schedule:
- cron: "17 6 1 * *"
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- id: month
run: echo "month=$(date +%Y-%m)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
with:
path: ~/.cache/longhikes-climate
key: climate-${{ steps.month.outputs.month }}
restore-keys: climate-
- run: python3 tools/estimate_season.py check