From 80c3dbf35b4c79b704de987202219873299ef075 Mon Sep 17 00:00:00 2001 From: Cyrille Rossant Date: Thu, 12 Nov 2026 12:41:26 +0100 Subject: [PATCH] Test committed uv lockfile in CI --- .github/workflows/ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc6a5e7..829147e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,21 @@ jobs: - name: Run tests run: python -m pytest ${{ matrix.test-target }} + locked-test: + name: Locked dependencies (Python 3.12) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 + with: + python-version: "3.12" + - name: Install uv + run: python -m pip install "uv==0.12.0" + - name: Install locked dependencies + run: uv sync --locked --extra dev + - name: Run tests with locked dependencies + run: uv run --frozen --extra dev python -m pytest phylib + spikeinterface-minimum: name: SpikeInterface 0.100 compatibility runs-on: ubuntu-latest @@ -101,7 +116,7 @@ jobs: build: name: Build package runs-on: ubuntu-latest - needs: [lint, test] + needs: [lint, test, locked-test] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1