From 593d0460521ec09cf9428f4a88be95343b2ce8ea Mon Sep 17 00:00:00 2001 From: Saurav Maheshkar Date: Tue, 15 Oct 2024 17:41:10 +0100 Subject: [PATCH] feat: use pure pip --- .github/workflows/python.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) 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 .