Skip to content

Commit baed7e2

Browse files
author
Nate Rush
authored
Merge pull request #1269 from mito-ds/large-runners
Try using large runners
2 parents a3c1b9e + 2bff82d commit baed7e2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/test-mitosheet-frontend.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
timeout-minutes: 60
120120
strategy:
121121
matrix:
122-
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
122+
os: ['ubuntu-latest-m', 'macos-latest', 'windows-latest-l']
123123
python-version: ['3.10']
124124
project:
125125
- test-name: 'chromium'
@@ -134,16 +134,16 @@ jobs:
134134
install-name: 'msedge'
135135
testfiles: ['taskpanes', 'grid', 'toolbar', 'graph']
136136
exclude:
137-
- os: 'windows-latest'
137+
- os: 'windows-latest-l'
138138
project:
139139
test-name: webkit
140140
- os: 'macos-latest'
141141
project:
142142
test-name: 'Microsoft Edge'
143-
- os: 'ubuntu-latest'
143+
- os: 'ubuntu-latest-m'
144144
project:
145145
test-name: 'Microsoft Edge'
146-
- os: 'ubuntu-latest'
146+
- os: 'ubuntu-latest-m'
147147
project:
148148
test-name: 'webkit'
149149
fail-fast: false
@@ -167,20 +167,20 @@ jobs:
167167
cache: 'npm'
168168
cache-dependency-path: mitosheet/package-lock.json
169169
- name: Install dependencies (ubuntu, macos)
170-
if: matrix.os != 'windows-latest'
170+
if: matrix.os != 'windows-latest-l'
171171
run: |
172172
cd tests
173173
bash mac-setup.sh ${{ matrix.project.install-name }}
174174
source venv/bin/activate
175175
pip install -r extra-requirements.txt
176176
- name: Setup streamlit (ubuntu, macos)
177-
if: matrix.os != 'windows-latest'
177+
if: matrix.os != 'windows-latest-l'
178178
run: |
179179
mkdir -p ~/.streamlit/
180180
echo "[general]" > ~/.streamlit/credentials.toml
181181
echo "email = \"\"" >> ~/.streamlit/credentials.toml
182182
- name: Setup streamlit (windows)
183-
if: matrix.os == 'windows-latest'
183+
if: matrix.os == 'windows-latest-l'
184184
run: |
185185
$streamlitDir = "$HOME\.streamlit"
186186
if (-not (Test-Path -Path $streamlitDir)) {
@@ -191,7 +191,7 @@ jobs:
191191
email = ""
192192
"@
193193
- name: Install dependencies (windows)
194-
if: matrix.os == 'windows-latest'
194+
if: matrix.os == 'windows-latest-l'
195195
run: |
196196
cd tests
197197
@@ -210,15 +210,15 @@ jobs:
210210
npm install
211211
npm run build
212212
- name: Start a server and run tests (ubuntu, macos)
213-
if: matrix.os != 'windows-latest'
213+
if: matrix.os != 'windows-latest-l'
214214
run: |
215215
cd tests
216216
source venv/bin/activate
217217
streamlit run streamlit_test.py --server.port 8555 &
218218
bash check_server.sh
219219
npm run test -- --project="${{ matrix.project.test-name }}" streamlit_ui_tests/${{matrix.testfiles}}
220220
- name: Start a server and run tests (windows)
221-
if: matrix.os == 'windows-latest'
221+
if: matrix.os == 'windows-latest-l'
222222
run: |
223223
cd tests
224224
.\venv\Scripts\Activate.ps1

mitosheet/src/mito/Mito.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ import { classNames } from './utils/classNames';
6666
import loadPlotly from './utils/plotly';
6767
// AUTOGENERATED LINE: MITOIMPORT (DO NOT DELETE)
6868
import { isInJupyterLab, isInJupyterNotebook } from '.';
69+
import { MitoAPIResult } from './api/api';
6970
import { SendFunction, SendFunctionError } from './api/send';
7071
import BottomLeftPopup from './components/elements/BottomLeftPopup';
7172
import StreamlitSignupModal from './components/modals/StreamlitSignupModal';
@@ -85,7 +86,6 @@ import { getCSSStyleVariables } from './utils/colors';
8586
import { handleKeyboardShortcuts } from './utils/keyboardShortcuts';
8687
import { isInDashboard } from './utils/location';
8788
import { shallowEqualToDepth } from './utils/objects';
88-
import { MitoAPIResult } from './api/api';
8989

9090
export type MitoProps = {
9191
getSendFunction: () => Promise<SendFunction | SendFunctionError>

0 commit comments

Comments
 (0)