mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Fix the gh action?
This commit is contained in:
parent
e78723330e
commit
50c8ca6c84
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
@ -28,6 +28,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
|
id: python
|
||||||
with:
|
with:
|
||||||
python-version: 3.11
|
python-version: 3.11
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
@ -81,7 +82,7 @@ jobs:
|
|||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
- name: Run Rust tests
|
- name: Run Rust tests
|
||||||
run: |
|
run: |
|
||||||
export LD_LIBRARY_PATH=${{ pythonLocation }}/lib/
|
export LD_LIBRARY_PATH=${{ steps.python.outputs.pythonLocation }}/lib/
|
||||||
echo $LD_LIBRARY_PATH
|
echo $LD_LIBRARY_PATH
|
||||||
cargo test
|
cargo test
|
||||||
- name: sccache stats
|
- name: sccache stats
|
||||||
|
Loading…
Reference in New Issue
Block a user