File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 55
66name : codegen_api_client Python package
77
8- on : [push, pull_request]
8+ on :
9+ push :
10+ branches :
11+ - develop
12+ pull_request :
13+ branches :
14+ - develop
915
1016jobs :
1117 build :
@@ -17,15 +23,12 @@ jobs:
1723
1824 steps :
1925 - uses : actions/checkout@v4
20- - name : Set up Python ${{ matrix.python-version }}
21- uses : actions /setup-python@v4
26+ - name : Set up UV ${{ matrix.python-version }}
27+ uses : astral-sh /setup-uv@v5
2228 with :
29+ enable-cache : true
2330 python-version : ${{ matrix.python-version }}
24- - name : Install dependencies
25- run : |
26- python -m pip install --upgrade pip
27- pip install -r requirements.txt
28- pip install -r test-requirements.txt
2931 - name : Test with pytest
3032 run : |
31- pytest --cov=codegen_api_client
33+ uv run pytest --cov=codegen_api_client
34+
You can’t perform that action at this time.
0 commit comments