File tree Expand file tree Collapse file tree 2 files changed +20
-12
lines changed
Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 1818 include :
1919 - os : ' macos-14-arm64'
2020 runs-on : ' macos-14'
21+ defaults :
22+ run :
23+ working-directory : ${{ github.workspace }}
2124 steps :
2225 - uses : actions/checkout@v6
2326
@@ -28,14 +31,16 @@ jobs:
2831 run : uv python install ${{ matrix.python-version }}
2932
3033 - name : Install dependencies
31- run : |
32- uv venv
33- uv pip install -e .[test]
34+ run : uv sync --all-extras
3435 shell : bash
3536
3637 - name : Run tests with coverage
37- run : uv run poe test
38- shell : bash
38+ uses : nick-fields/retry@v3
39+ with :
40+ timeout_minutes : 2
41+ max_attempts : 3
42+ command : uv run poe test
43+ shell : bash
3944
4045 - name : Upload coverage to Codecov
4146 if : matrix.python-version == '3.14' && matrix.os == 'ubuntu-latest'
6368 run : uv python install 3.14
6469
6570 - name : Build package
66- run : |
67- uv venv
68- uv build
71+ run : uv build
6972
7073 - name : Upload artifacts
7174 uses : actions/upload-artifact@v6
Original file line number Diff line number Diff line change 4040- [ Environment Variables] ( #env-variables-optional )
4141- [ Flexible Configuration Options] ( #flexible-configuration-options )
4242- [ Development] ( #development )
43- - [ Building DEV Environment and Running Tests] ( #building -dev-environment-and- running-tests )
44- - [ Building Wheel from Source ] ( #building-wheel-from-source )
43+ - [ Create DEV Environment, Running Tests and Building Wheel ] ( #create -dev-environment-running-tests-and-building-wheel )
44+ - [ Optionals ] ( #optionals )
4545- [ License] ( #license )
4646- [ Support] ( #support )
4747
@@ -337,14 +337,19 @@ Must have [UV](https://uv.run/docs/getting-started/installation),
337337## Create DEV Environment, Running Tests and Building Wheel
338338
339339``` shell
340- uv venv
341340uv sync --all-extras
342341poe linter
343342poe test
344- poe profile (optional - will create a cprofile.prof file)
345343poe build
346344```
347345
346+ ## Optionals
347+
348+ ### Create a cprofile.prof file from unit tests
349+ ``` shell
350+ poe profile
351+ ```
352+
348353
349354
350355
You can’t perform that action at this time.
0 commit comments