Fix override.

This commit is contained in:
Nicolas Patry 2024-09-12 16:08:04 +02:00
parent db054b95df
commit d1e79ddae0
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863
1 changed files with 1 additions and 3 deletions

View File

@ -30,14 +30,12 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
env:
USER: github_runner
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Build
run: nix develop .#test --command echo "Ok"
- name: Python tests.
run: |
sudo mkdir -p /run/opengl-driver/lib
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
nix develop .#test --command python -m pytest -svvx integration-tests/
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}