diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e3265ca5..25dc2ff15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: - name: Install Dependencies run: | - uv sync + uv sync --all-extras - name: Build Package run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7c3b4c2c..ca6d517c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,16 +37,22 @@ jobs: key: huggingface-${{ env.cache-name }} enableCrossOsArchive: true - - name: Set up Python - uses: actions/setup-python@v5 + - name: Install uv + uses: astral-sh/setup-uv@v3 with: - python-version: "3.11" - cache-dependency-path: "**/pyproject.toml" - cache: "pip" + enable-cache: true + cache-dependency-glob: "uv.lock" + + - name: Set up Python + run: | + uv python install 3.11 + + - name: Install Dependencies and ${{ github.repository }} + run: | + uv sync --all-extras - name: Check the Example Dataset Cache run: | - pip install datasets - python ./.github/scripts/get_example_dataset.py + uv run ./.github/scripts/get_example_dataset.py test: needs: [get_dataset] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44d7c8390..35dcc7d9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: - name: Install Dependencies and ${{ github.repository }} run: | - uv sync --all-extras --dev + uv sync --all-extras - name: Run Tests run: |