From a0884b1454af30143a480f0e5da3a2f37b1ba31f Mon Sep 17 00:00:00 2001 From: Lehman Garrison Date: Thu, 7 Nov 2024 12:09:27 -0500 Subject: [PATCH] ci: try uv for environment management --- .github/workflows/tests.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 93178ca..df593c6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,21 +12,22 @@ jobs: steps: - uses: actions/checkout@v3 + + - name: Install uv + uses: astral-sh/setup-uv@v3 with: - submodules: 'recursive' + version: "0.4.30" - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 - with: python-version: ${{ matrix.python-version }} - - - name: Install dependencies + + - name: Install the project run: | - python -m pip install -U pip - pip install -v . + uv sync --all-extras --dev - name: Run local-mode (ssh) test working-directory: tests/test_ssh/ run: | - bash run.sh + uv run run.sh