Trye somethign.
This commit is contained in:
parent
047530216c
commit
83ee55a617
|
@ -32,10 +32,7 @@ jobs:
|
||||||
run: nix develop .#test --command echo "Ok"
|
run: nix develop .#test --command echo "Ok"
|
||||||
- name: Python tests.
|
- name: Python tests.
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /run/opengl-driver/lib
|
export LD_LIBRARY_PATH=$(nix-build -E 'with import <nixpkgs> { config = { allowUnfree = true; }; }; linuxPackages.nvidia_x11')
|
||||||
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
|
||||||
sudo find /usr/lib . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
|
||||||
|
|
||||||
nix develop .#test --command pytest -svv integration-tests/ --release
|
nix develop .#test --command pytest -svv integration-tests/ --release
|
||||||
env:
|
env:
|
||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue