49
49
PYVISTA_OFF_SCREEN : True
50
50
MIN_REQ : ${{ inputs.min_req }}
51
51
FORCE_COLOR : 1
52
- PIP_CONSTRAINT : ${{ github.workspace }}/resources/constraints/constraints_py${{ inputs.python_version }}${{ ((startsWith(inputs.platform, 'windows') && '_windows') || '') }}${{ inputs.min_req && '_min_req' }}${{ inputs.constraints_suffix }}.txt
53
- UV_CONSTRAINT : ${{ github.workspace }}/resources/constraints/constraints_py${{ inputs.python_version }}${{ ((startsWith(inputs.platform, 'windows') && '_windows') || '') }}${{ inputs.min_req && '_min_req' }}${{ inputs.constraints_suffix }}.txt
52
+ PIP_CONSTRAINT : ${{ github.workspace }}/resources/constraints/constraints_py${{ inputs.python_version }}${{ inputs.min_req && '_min_req' }}${{ inputs.constraints_suffix }}.txt
53
+ UV_CONSTRAINT : ${{ github.workspace }}/resources/constraints/constraints_py${{ inputs.python_version }}${{ inputs.min_req && '_min_req' }}${{ inputs.constraints_suffix }}.txt
54
54
# Above we calculate path to constraints file based on python version and platform
55
55
# Because there is no single PyQt5-Qt5 package version available for all platforms we was forced to use
56
56
# different constraints files for Windows. An example with macOS arm64:
85
85
uses : ts-graphviz/setup-graphviz@v2
86
86
continue-on-error : true
87
87
88
+ - name : Set Windows resolution
89
+ if : runner.os == 'Windows'
90
+ run : Set-DisplayResolution -Width 1920 -Height 1080 -Force
91
+ shell : powershell
92
+
88
93
# strategy borrowed from vispy for installing opengl libs on windows
89
94
- name : Install Windows OpenGL
90
95
if : runner.os == 'Windows'
@@ -111,8 +116,8 @@ jobs:
111
116
- name : create _version.py file
112
117
# workaround for not using src layout
113
118
run : |
114
- echo "__version__ = version = '0.5.0a2 .dev364'" > napari/_version.py
115
- echo "__version_tuple__ = version_tuple = (0, 5, 0 , 'dev364', '')" >> napari/_version.py
119
+ echo "__version__ = version = '0.5.5a2 .dev364'" > napari/_version.py
120
+ echo "__version_tuple__ = version_tuple = (0, 5, 5 , 'dev364', '')" >> napari/_version.py
116
121
117
122
# here we pass off control of environment creation and running of tests to tox
118
123
# tox-gh-actions, installed above, helps to convert environment variables into
@@ -146,6 +151,7 @@ jobs:
146
151
shell : bash
147
152
run : |
148
153
echo ${{ env.MAIN }}
154
+ tox --version
149
155
python -m tox run --installpkg ${{ env.WHEEL_PATH }} -- --basetemp=.pytest_tmp
150
156
rm -r .tox
151
157
env :
0 commit comments