Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"}
]') }}

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading