diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 80dde8c..81a9c45 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -29,21 +29,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install uv - uses: astral-sh/setup-uv@v3 + - name: Setup Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - enable-cache: true - cache-dependency-glob: "pyproject.toml" - - - name: Set up Python ${{ matrix.python-version }} - run: uv python install ${{ matrix.python-version }} + python-version: ${{ matrix.python-version }} + cache: "pip" + cache-dependency-path: "pyproject.toml" - name: Install dependencies - run: uv pip install jax flax fire ruff pytest --system + run: pip install -U pip && pip install -e . - - name: Ruff - run: | - uv run ruff check jflux - name: Test with PyTest run: | - uv run pytest -v -s . + pytest -v -s .