Fix the CI (#8)
This commit is contained in:
@@ -10,10 +10,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v7
|
||||
- name: Install dependencies
|
||||
run: uv sync --dev
|
||||
- name: Run pre-commit
|
||||
uses: pre-commit/action@v3.0.0
|
||||
|
||||
@@ -21,6 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: pre-commit
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ['3.10', '3.14']
|
||||
steps:
|
||||
@@ -36,4 +33,6 @@ jobs:
|
||||
- name: Run pytest
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
run: uv run -p ${{ matrix.python-version }} pytest ./tests
|
||||
run: |
|
||||
uvx hf auth login --token $HF_TOKEN
|
||||
uv run -p ${{ matrix.python-version }} pytest -v ./tests
|
||||
|
||||
Reference in New Issue
Block a user