From 39b60364da17771b57ccdf36aedc1df01e595559 Mon Sep 17 00:00:00 2001 From: Simon Dirmeier Date: Thu, 21 Aug 2025 11:04:01 +0200 Subject: [PATCH] Increment version --- .github/workflows/ci.yaml | 29 ++++++++++++++++++++++++++++- blaxbird/__init__.py | 2 +- blaxbird/_src/test_blaxbird.py | 5 +++++ uv.lock | 2 +- 4 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 blaxbird/_src/test_blaxbird.py diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6a6eb20..885ae59 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: - precommit strategy: matrix: - python-version: [ 3.11 ] + python-version: [ 3.12 ] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -36,3 +36,30 @@ jobs: - name: Run lints run: | make lints + + tests: + runs-on: ubuntu-latest + needs: + - lints + strategy: + matrix: + python-version: [ 3.12 ] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - uses: astral-sh/setup-uv@v5 + with: + version: "latest" + - name: Install dependencies + run: | + uv sync --dev + - name: Run tests + run: | + make tests + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/blaxbird/__init__.py b/blaxbird/__init__.py index 7095d02..9d37827 100644 --- a/blaxbird/__init__.py +++ b/blaxbird/__init__.py @@ -1,6 +1,6 @@ """blaxbird: A high-level API for building and training Flax NNX models.""" -__version__ = "0.0.2" +__version__ = "0.1.0" from blaxbird._src.checkpointer import get_default_checkpointer from blaxbird._src.trainer import train_fn diff --git a/blaxbird/_src/test_blaxbird.py b/blaxbird/_src/test_blaxbird.py new file mode 100644 index 0000000..25e7b3d --- /dev/null +++ b/blaxbird/_src/test_blaxbird.py @@ -0,0 +1,5 @@ +import chex + + +def test_blaxbird(): + chex.assert_equal(1, 1) diff --git a/uv.lock b/uv.lock index 05a0246..e90eabc 100644 --- a/uv.lock +++ b/uv.lock @@ -237,7 +237,7 @@ wheels = [ [[package]] name = "blaxbird" -version = "0.0.2" +version = "0.1.0" source = { editable = "." } dependencies = [ { name = "einops" },