We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ba08e6 commit 28cb4b6Copy full SHA for 28cb4b6
1 file changed
.github/workflows/ci.yml
@@ -10,6 +10,11 @@ jobs:
10
build:
11
12
runs-on: ubuntu-latest
13
+ env:
14
+ TESTING: "true"
15
+ PYTHONPATH: "."
16
+ BITSANDBYTES_NOWELCOME: "1"
17
+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
18
19
steps:
20
- uses: actions/checkout@v4
@@ -24,8 +29,10 @@ jobs:
24
29
python -m pip install --upgrade pip
25
30
pip install pytest httpx fastapi pydantic-settings pandas scikit-learn datasets transformers peft bitsandbytes torch --extra-index-url https://download.pytorch.org/whl/cpu
26
31
32
+ - name: Dependency check
33
+ run: |
34
+ python -c "import torch; import transformers; import peft; print('ML dependencies loaded')"
35
+
27
36
- name: Run tests
28
37
run: |
- export TESTING=true
- export BITSANDBYTES_NOWELCOME=1
38
python -m pytest tests/test_data.py tests/test_api.py
0 commit comments