Spaces:
Running
Running
Nathan Brake
commited on
Github Action tests use deploy key for access (#40)
Browse files
.github/workflows/tests.yaml
CHANGED
@@ -26,9 +26,11 @@ jobs:
|
|
26 |
with:
|
27 |
python-version: '3.11'
|
28 |
cache: "pip"
|
29 |
-
|
30 |
- name: Install
|
31 |
-
run:
|
|
|
|
|
|
|
32 |
|
33 |
- name: Run tests
|
34 |
run: pytest -v tests
|
|
|
26 |
with:
|
27 |
python-version: '3.11'
|
28 |
cache: "pip"
|
|
|
29 |
- name: Install
|
30 |
+
run: |
|
31 |
+
eval `ssh-agent -s`
|
32 |
+
ssh-add - <<< '${{ secrets.SSF_SSH_TOKEN }}'
|
33 |
+
pip install -e '.[arize,langchain,smolagents,openai,tests]'
|
34 |
|
35 |
- name: Run tests
|
36 |
run: pytest -v tests
|