Skip to content

Commit

Permalink
feat: use pure pip
Browse files Browse the repository at this point in the history
  • Loading branch information
SauravMaheshkar authored Oct 15, 2024
1 parent 2bb376d commit 593d046
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .

0 comments on commit 593d046

Please sign in to comment.