File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed
Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 2020 - precommit
2121 strategy :
2222 matrix :
23- python-version : [ 3.11 ]
23+ python-version : [ 3.12 ]
2424 steps :
2525 - uses : actions/checkout@v3
2626 - name : Set up Python ${{ matrix.python-version }}
3636 - name : Run lints
3737 run : |
3838 make lints
39+
40+ tests :
41+ runs-on : ubuntu-latest
42+ needs :
43+ - lints
44+ strategy :
45+ matrix :
46+ python-version : [ 3.12 ]
47+ steps :
48+ - uses : actions/checkout@v3
49+ - name : Set up Python ${{ matrix.python-version }}
50+ uses : actions/setup-python@v3
51+ with :
52+ python-version : ${{ matrix.python-version }}
53+ - uses : astral-sh/setup-uv@v5
54+ with :
55+ version : " latest"
56+ - name : Install dependencies
57+ run : |
58+ uv sync --dev
59+ - name : Run tests
60+ run : |
61+ make tests
62+ - name : Upload coverage reports to Codecov
63+ uses : codecov/codecov-action@v5
64+ env :
65+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11"""blaxbird: A high-level API for building and training Flax NNX models."""
22
3- __version__ = "0.0.2 "
3+ __version__ = "0.1.0 "
44
55from blaxbird ._src .checkpointer import get_default_checkpointer
66from blaxbird ._src .trainer import train_fn
Original file line number Diff line number Diff line change 1+ import chex
2+
3+
4+ def test_blaxbird ():
5+ chex .assert_equal (1 , 1 )
You can’t perform that action at this time.
0 commit comments