Skip to content

Commit

Permalink
simplify github action with uv
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Oct 9, 2024
1 parent 782d4d0 commit 17f97ff
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test_py.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: pip install ".[dev]"
- name: Install uv
uses: astral-sh/setup-uv@v3

- name: Test with pytest
run: pytest tests
run: uv run --python ${{ matrix.python-version }} --extra dev pytest tests

0 comments on commit 17f97ff

Please sign in to comment.