File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 required : false
1515 type : string
1616 default : " "
17+ pytest_args :
18+ required : false
19+ type : string
20+ default : " "
1721 napari :
1822 required : false
1923 type : string
9094 pip list
9195
9296 - name : Test with tox PartSegImage
93- run : python -m tox package/tests/test_PartSegImage ${{ inputs.tox_args }}
97+ run : python -m tox ${{ inputs.tox_args }} -- package/tests/test_PartSegImage ${{ inputs.pytest_args }}
9498 env :
9599 PYVISTA_OFF_SCREEN : True # required for opengl on windows
96100 NAPARI : ${{ inputs.napari }}
99103 UV_CONSTRAINT : ${{ inputs.napari == 'latest' && format('requirements/constraints_py{0}{1}.txt', inputs.python_version, inputs.pydantic ) || '' }}
100104
101105 - name : Test with tox PartSegCore
102- run : python -m tox package/tests/test_PartSegCore ${{ inputs.tox_args }}
106+ run : python -m tox ${{ inputs.tox_args }} -- package/tests/test_PartSegCore ${{ inputs.pytest_args }}
103107 env :
104108 PYVISTA_OFF_SCREEN : True # required for opengl on windows
105109 NAPARI : ${{ inputs.napari }}
@@ -111,7 +115,7 @@ jobs:
111115 uses : aganders3/headless-gui@v2
112116 timeout-minutes : ${{ inputs.timeout }}
113117 with :
114- run : python -m tox package/tests/test_PartSeg ${{ inputs.tox_args }}
118+ run : python -m tox ${{ inputs.tox_args }} -- package/tests/test_PartSeg ${{ inputs.pytest_args }}
115119 env :
116120 PYVISTA_OFF_SCREEN : True # required for opengl on windows
117121 NAPARI : ${{ inputs.napari }}
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ jobs:
126126 qt_backend : ${{ matrix.qt_backend }}
127127 pydantic : ${{ matrix.pydantic }}
128128 artifact_suffix : " -main"
129- tox_args : " -- -v"
129+ pytest_args : " -v"
130130
131131 test_coverage :
132132 needs : download_data
You can’t perform that action at this time.
0 commit comments