Commit a0561d1
Add GitHub Actions CI (#4)
* Add GitHub Actions CI
- Test on Python 3.11, 3.12, 3.13 (CPU)
- Build verification with wheel content check
- Per-test 60s timeout to catch hangs
- Uses uv for fast dependency resolution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix CI: skip local-only dev dependency group
The [dependency-groups] dev includes jax-mps with a local path source
(../jax-mps) that doesn't exist in CI. Use --no-dev to skip the
dependency group while still installing [project.optional-dependencies]
dev extras (pytest, torch).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Remove jax-mps dependency — users install platform backends themselves
Remove [mps] optional extra, [tool.uv.sources] local path, and jax-mps
from dev dependency group. Platform-specific JAX backends (MPS, CUDA,
TPU) are the user's responsibility, with CPU as the default fallback.
Also reverts the --no-dev CI workaround since the local path source
was the only reason it was needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix float32 cosine similarity bound check in test
Cosine similarity can exceed 1.0 by ~1e-7 due to float32 rounding.
Add tolerance to bound checks.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add PyPI publish workflow using trusted publishing
Triggers on GitHub releases. Builds the package, verifies no test files
in the wheel, then publishes to PyPI via OpenID Connect (no API tokens
needed).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Remove environment from publish workflow to match PyPI config
Trusted publisher was configured without an environment name.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent ff4706e commit a0561d1
6 files changed
Lines changed: 102 additions & 16 deletions
File tree
- .github/workflows
- irtk/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
| |||
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 48 | | |
56 | 49 | | |
57 | | - | |
58 | 50 | | |
| 51 | + | |
59 | 52 | | |
60 | 53 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments