@@ -119,7 +119,7 @@ jobs:
119
119
timeout-minutes : 60
120
120
strategy :
121
121
matrix :
122
- os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
122
+ os : ['ubuntu-latest-m ', 'macos-latest', 'windows-latest-l ']
123
123
python-version : ['3.10']
124
124
project :
125
125
- test-name : ' chromium'
@@ -134,16 +134,16 @@ jobs:
134
134
install-name : ' msedge'
135
135
testfiles : ['taskpanes', 'grid', 'toolbar', 'graph']
136
136
exclude :
137
- - os : ' windows-latest'
137
+ - os : ' windows-latest-l '
138
138
project :
139
139
test-name : webkit
140
140
- os : ' macos-latest'
141
141
project :
142
142
test-name : ' Microsoft Edge'
143
- - os : ' ubuntu-latest'
143
+ - os : ' ubuntu-latest-m '
144
144
project :
145
145
test-name : ' Microsoft Edge'
146
- - os : ' ubuntu-latest'
146
+ - os : ' ubuntu-latest-m '
147
147
project :
148
148
test-name : ' webkit'
149
149
fail-fast : false
@@ -167,20 +167,20 @@ jobs:
167
167
cache : ' npm'
168
168
cache-dependency-path : mitosheet/package-lock.json
169
169
- name : Install dependencies (ubuntu, macos)
170
- if : matrix.os != 'windows-latest'
170
+ if : matrix.os != 'windows-latest-l '
171
171
run : |
172
172
cd tests
173
173
bash mac-setup.sh ${{ matrix.project.install-name }}
174
174
source venv/bin/activate
175
175
pip install -r extra-requirements.txt
176
176
- name : Setup streamlit (ubuntu, macos)
177
- if : matrix.os != 'windows-latest'
177
+ if : matrix.os != 'windows-latest-l '
178
178
run : |
179
179
mkdir -p ~/.streamlit/
180
180
echo "[general]" > ~/.streamlit/credentials.toml
181
181
echo "email = \"\"" >> ~/.streamlit/credentials.toml
182
182
- name : Setup streamlit (windows)
183
- if : matrix.os == 'windows-latest'
183
+ if : matrix.os == 'windows-latest-l '
184
184
run : |
185
185
$streamlitDir = "$HOME\.streamlit"
186
186
if (-not (Test-Path -Path $streamlitDir)) {
@@ -191,7 +191,7 @@ jobs:
191
191
email = ""
192
192
"@
193
193
- name : Install dependencies (windows)
194
- if : matrix.os == 'windows-latest'
194
+ if : matrix.os == 'windows-latest-l '
195
195
run : |
196
196
cd tests
197
197
@@ -210,15 +210,15 @@ jobs:
210
210
npm install
211
211
npm run build
212
212
- name : Start a server and run tests (ubuntu, macos)
213
- if : matrix.os != 'windows-latest'
213
+ if : matrix.os != 'windows-latest-l '
214
214
run : |
215
215
cd tests
216
216
source venv/bin/activate
217
217
streamlit run streamlit_test.py --server.port 8555 &
218
218
bash check_server.sh
219
219
npm run test -- --project="${{ matrix.project.test-name }}" streamlit_ui_tests/${{matrix.testfiles}}
220
220
- name : Start a server and run tests (windows)
221
- if : matrix.os == 'windows-latest'
221
+ if : matrix.os == 'windows-latest-l '
222
222
run : |
223
223
cd tests
224
224
.\venv\Scripts\Activate.ps1
0 commit comments