From 3dbe0cb549aa009ded049d9e44a2d890836ee5fb Mon Sep 17 00:00:00 2001 From: Jonathan Taylor Date: Mon, 26 Oct 2026 13:17:25 -0700 Subject: [PATCH 1/2] CI: fewer runs, as glmstar's No weekly schedule. Merges run macOS and Windows at 3.12 and Linux at 3.11 and 3.14 (4 jobs, from 6), and the sdist and wheel build; pull requests run only Linux at 3.12, with coverage. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build_test.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 43b808a..42bacc2 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -1,16 +1,16 @@ name: Build and test -# Linux (Python 3.12) on pull requests, into any branch; macOS, Linux and -# Windows, Python 3.11-3.14, on pushes to main (merges), the weekly schedule -# and by hand. Changes only to the docs or Markdown files do not run the tests. +# Linux (Python 3.12) on pull requests, into any branch; on pushes to main +# (merges) and by hand, macOS and Windows (3.12) and Linux at the oldest and +# newest Pythons (3.11, 3.14), and the sdist and wheel build. The package is +# pure Python, so this is enough. Changes only to the docs or Markdown files +# do not run the tests. on: push: branches: [main] paths-ignore: ['docs/**', '**.md'] pull_request: paths-ignore: ['docs/**', '**.md'] - schedule: - - cron: '0 6 * * 1' workflow_dispatch: # a new push to a branch cancels the run still going for it @@ -29,11 +29,9 @@ jobs: ${{ fromJSON(github.event_name == 'pull_request' && '[ {"os": "ubuntu-latest", "python-version": "3.12"} ]' || '[ - {"os": "ubuntu-latest", "python-version": "3.12"}, {"os": "windows-latest", "python-version": "3.12"}, {"os": "macos-latest", "python-version": "3.12"}, {"os": "ubuntu-latest", "python-version": "3.11"}, - {"os": "ubuntu-latest", "python-version": "3.13"}, {"os": "ubuntu-latest", "python-version": "3.14"} ]') }} @@ -64,13 +62,14 @@ jobs: shell: bash run: | args=() - if [ "${{ matrix.os }}" = "ubuntu-latest" ] && [ "${{ matrix.python-version }}" = "3.12" ]; then + if [ "${{ github.event_name }}" = "pull_request" ]; then args+=(--cov=modelmatrix --cov-report=term-missing) fi uv run pytest "${args[@]}" build-dist: # the sdist and wheel build, and the wheel installs and imports + if: github.event_name != 'pull_request' runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 From 958c817711e6cbaf108ad85fe04163067a5f48ff Mon Sep 17 00:00:00 2001 From: Jonathan Taylor Date: Mon, 26 Oct 2026 13:18:35 -0700 Subject: [PATCH 2/2] Changelog: date 0.1.0 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dce7e5..7091c85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -## 0.1.0 +## 0.1.0 (2026-10-26) `ModelSpec`, from [ISLP](https://github.com/intro-stat-learning/ISLP) 0.6.0, as its own package, with the history of its files. ISLP 0.7 depends on it,