Skip to content

Commit 6b040dd

Browse files
committed
ci: use uv for tests
1 parent 4552dc1 commit 6b040dd

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,12 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v5
3030
- uses: actions/setup-python@v6
31-
id: python
3231
with:
3332
python-version: ${{ matrix.python }}
34-
- name: Create Python virtual environment
35-
run: |
36-
${{ steps.python.outputs.python-path }} -m venv test-venv
33+
- uses: astral-sh/setup-uv@v4
3734
- name: Install solc-select and test dependencies
38-
shell: bash
3935
run: |
40-
source test-venv/${{ (runner.os == 'Windows' && 'Scripts') || 'bin' }}/activate
41-
python -m pip install --upgrade pip
42-
pip3 install -e ".[dev]"
36+
uv sync --extra dev
4337
- name: Run Tests
44-
shell: bash
4538
run: |
46-
source test-venv/${{ (runner.os == 'Windows' && 'Scripts') || 'bin' }}/activate
47-
# Run all tests in parallel
48-
python -m pytest tests/ -v --tb=short -n auto
49-
39+
uv run python -m pytest tests/ -v --tb=short -n auto

0 commit comments

Comments
 (0)