Fixing the test by activating the environment ?

This commit is contained in:
Nicolas Patry 2025-01-16 14:16:41 +01:00
parent 4982b9c765
commit df26ff1f13
No known key found for this signature in database
GPG Key ID: D2920555C90F704C

View File

@ -50,7 +50,8 @@ jobs:
make install-cpu make install-cpu
- name: Run server tests - name: Run server tests
run: | run: |
pip install pytest source ./.venv/bin/activate
uv pip install pytest
export HF_TOKEN=${{ secrets.HF_TOKEN }} export HF_TOKEN=${{ secrets.HF_TOKEN }}
pytest -s -vv server/tests pytest -s -vv server/tests
- name: Pre-commit checks - name: Pre-commit checks