Skip to content

Commit 26d46d2

Browse files
authored
use uv (#330)
Use uv, idiot, disable cache, and update lint and test workflow.
1 parent 9c7a6ae commit 26d46d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/Lint-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
version: ['3.10','3.11', '3.12', '3.13']
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: actions/setup-python@v5
16+
- uses: astral-sh/setup-uv@v6
1717
with:
1818
python-version: ${{ matrix.version }}
1919
- name: install requirements
20-
run: pip install -e .[dev]
20+
run: uv sync --extra dev
2121
- name: run unit tests
22-
run: python -m pytest .
22+
run: uv run pytest
2323
- name: run system tests
2424
working-directory: ./system_tests
25-
run: python -m pytest --approvaltests-use-reporter='PythonNativeReporter' lewis_tests.py
25+
run: uv run pytest --approvaltests-use-reporter='PythonNativeReporter' lewis_tests.py
2626
results:
2727
if: ${{ always() }}
2828
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)