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 : CI
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ lint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v6
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v6
17+ with :
18+ python-version : ' 3.12'
19+
20+ - name : Install uv
21+ run : pip install uv
22+
23+ - name : Install dependencies
24+ run : uv pip install --system ruff
25+
26+ - name : Ruff check
27+ run : ruff check .
28+
29+ - name : Ruff format check
30+ run : ruff format --check .
31+
32+ test :
33+ runs-on : ubuntu-latest
34+ strategy :
35+ matrix :
36+ python-version : ['3.10', '3.11', '3.12']
37+ steps :
38+ - uses : actions/checkout@v6
39+
40+ - name : Set up Python ${{ matrix.python-version }}
41+ uses : actions/setup-python@v6
42+ with :
43+ python-version : ${{ matrix.python-version }}
44+
45+ - name : Install uv
46+ run : pip install uv
47+
48+ - name : Install package
49+ run : uv pip install --system .
50+
51+ - name : Test SDK imports
52+ run : python -c "import rootly_sdk; print('SDK imports successfully')"
You can’t perform that action at this time.
0 commit comments