We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfbe21f commit eb7f9c7Copy full SHA for eb7f9c7
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,32 @@
1
+name: Python CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v3
16
17
+ - name: Set up Python 3.10
18
+ uses: actions/setup-python@v3
19
+ with:
20
+ python-version: "3.10"
21
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install pytest httpx fastapi pydantic-settings pandas scikit-learn datasets transformers
26
+ # We install a subset of requirements to keep CI fast and avoid
27
+ # heavy ML libraries like torch/bitsandbytes that require GPUs
28
29
+ - name: Run tests
30
31
+ export PYTHONPATH=$PYTHONPATH:$(pwd)
32
+ pytest tests/test_data.py tests/test_api.py
0 commit comments