Skip to content

Commit 356b485

Browse files
authored
Merge pull request #1282 from mito-ds/large-runners-prerelease
Use large runners on prerelease tests
2 parents d97fb64 + 2b4af3a commit 356b485

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/prerelease-tests.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@ jobs:
6262
timeout-minutes: 60
6363
strategy:
6464
matrix:
65-
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
65+
os: ['ubuntu-latest-m', 'macos-latest', 'windows-latest-l']
6666
python-version: ['3.10']
6767
demo: ['vanguard-fund-performance']
6868
project: ['chromium', 'firefox', 'webkit', 'Google Chrome', 'Microsoft Edge']
6969
exclude:
70-
- os: 'windows-latest'
70+
- os: 'windows-latest-l'
7171
project: webkit
7272
- os: 'macos-latest'
7373
project: 'Microsoft Edge'
74-
- os: 'ubuntu-latest'
74+
- os: 'ubuntu-latest-m'
7575
project: 'Microsoft Edge'
76-
- os: 'ubuntu-latest'
76+
- os: 'ubuntu-latest-m'
7777
project: 'webkit'
7878
fail-fast: false
7979
runs-on: ${{ matrix.os }}
@@ -95,7 +95,7 @@ jobs:
9595
cache: 'npm'
9696
cache-dependency-path: mitosheet/package-lock.json
9797
- name: Install dependencies (ubuntu, macos)
98-
if: matrix.os != 'windows-latest'
98+
if: matrix.os != 'windows-latest-l'
9999
run: |
100100
cd tests
101101
python3 -m venv venv
@@ -106,13 +106,13 @@ jobs:
106106
npm install
107107
npx playwright install chromium webkit firefox chrome
108108
- name: Setup streamlit (ubuntu, macos)
109-
if: matrix.os != 'windows-latest'
109+
if: matrix.os != 'windows-latest-l'
110110
run: |
111111
mkdir -p ~/.streamlit/
112112
echo "[general]" > ~/.streamlit/credentials.toml
113113
echo "email = \"\"" >> ~/.streamlit/credentials.toml
114114
- name: Setup streamlit (windows)
115-
if: matrix.os == 'windows-latest'
115+
if: matrix.os == 'windows-latest-l'
116116
run: |
117117
$streamlitDir = "$HOME\.streamlit"
118118
if (-not (Test-Path -Path $streamlitDir)) {
@@ -123,7 +123,7 @@ jobs:
123123
email = ""
124124
"@
125125
- name: Install dependencies (windows)
126-
if: matrix.os == 'windows-latest'
126+
if: matrix.os == 'windows-latest-l'
127127
run: |
128128
cd tests
129129
python3 -m venv venv
@@ -134,7 +134,7 @@ jobs:
134134
npm install
135135
npx playwright install chromium webkit firefox chrome
136136
- name: Start a server and run tests (ubuntu, macos)
137-
if: matrix.os != 'windows-latest'
137+
if: matrix.os != 'windows-latest-l'
138138
run: |
139139
cd tests
140140
source venv/bin/activate
@@ -144,7 +144,7 @@ jobs:
144144
bash ../check_server.sh
145145
npm run test:streamlit:demo -- --project="${{ matrix.project }}"
146146
- name: Start a server and run tests (windows)
147-
if: matrix.os == 'windows-latest'
147+
if: matrix.os == 'windows-latest-l'
148148
run: |
149149
cd tests
150150
.\venv\Scripts\Activate.ps1

0 commit comments

Comments
 (0)