File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : test / unit / python-sdk
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " sdk-python/**"
8+ - " .github/workflows/test_unit-python-sdk.yml"
9+ pull_request :
10+ branches : [main]
11+ paths :
12+ - " sdk-python/**"
13+ - " .github/workflows/test_unit-python-sdk.yml"
14+
15+ jobs :
16+ test :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Set up Python
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : " 3.12"
25+
26+ - name : Install Poetry
27+ uses : snok/install-poetry@v1
28+ with :
29+ version : latest
30+ virtualenvs-create : true
31+ virtualenvs-in-project : true
32+
33+ - name : Install dependencies
34+ working-directory : sdk-python
35+ run : poetry install
36+
37+ - name : Run tests
38+ working-directory : sdk-python
39+ run : poetry run python -m pytest tests/ -v
You can’t perform that action at this time.
0 commit comments