@@ -62,18 +62,18 @@ jobs:
62
62
timeout-minutes : 60
63
63
strategy :
64
64
matrix :
65
- os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
65
+ os : ['ubuntu-latest-m ', 'macos-latest', 'windows-latest-l ']
66
66
python-version : ['3.10']
67
67
demo : ['vanguard-fund-performance']
68
68
project : ['chromium', 'firefox', 'webkit', 'Google Chrome', 'Microsoft Edge']
69
69
exclude :
70
- - os : ' windows-latest'
70
+ - os : ' windows-latest-l '
71
71
project : webkit
72
72
- os : ' macos-latest'
73
73
project : ' Microsoft Edge'
74
- - os : ' ubuntu-latest'
74
+ - os : ' ubuntu-latest-m '
75
75
project : ' Microsoft Edge'
76
- - os : ' ubuntu-latest'
76
+ - os : ' ubuntu-latest-m '
77
77
project : ' webkit'
78
78
fail-fast : false
79
79
runs-on : ${{ matrix.os }}
95
95
cache : ' npm'
96
96
cache-dependency-path : mitosheet/package-lock.json
97
97
- name : Install dependencies (ubuntu, macos)
98
- if : matrix.os != 'windows-latest'
98
+ if : matrix.os != 'windows-latest-l '
99
99
run : |
100
100
cd tests
101
101
python3 -m venv venv
@@ -106,13 +106,13 @@ jobs:
106
106
npm install
107
107
npx playwright install chromium webkit firefox chrome
108
108
- name : Setup streamlit (ubuntu, macos)
109
- if : matrix.os != 'windows-latest'
109
+ if : matrix.os != 'windows-latest-l '
110
110
run : |
111
111
mkdir -p ~/.streamlit/
112
112
echo "[general]" > ~/.streamlit/credentials.toml
113
113
echo "email = \"\"" >> ~/.streamlit/credentials.toml
114
114
- name : Setup streamlit (windows)
115
- if : matrix.os == 'windows-latest'
115
+ if : matrix.os == 'windows-latest-l '
116
116
run : |
117
117
$streamlitDir = "$HOME\.streamlit"
118
118
if (-not (Test-Path -Path $streamlitDir)) {
@@ -123,7 +123,7 @@ jobs:
123
123
email = ""
124
124
"@
125
125
- name : Install dependencies (windows)
126
- if : matrix.os == 'windows-latest'
126
+ if : matrix.os == 'windows-latest-l '
127
127
run : |
128
128
cd tests
129
129
python3 -m venv venv
@@ -134,7 +134,7 @@ jobs:
134
134
npm install
135
135
npx playwright install chromium webkit firefox chrome
136
136
- name : Start a server and run tests (ubuntu, macos)
137
- if : matrix.os != 'windows-latest'
137
+ if : matrix.os != 'windows-latest-l '
138
138
run : |
139
139
cd tests
140
140
source venv/bin/activate
@@ -144,7 +144,7 @@ jobs:
144
144
bash ../check_server.sh
145
145
npm run test:streamlit:demo -- --project="${{ matrix.project }}"
146
146
- name : Start a server and run tests (windows)
147
- if : matrix.os == 'windows-latest'
147
+ if : matrix.os == 'windows-latest-l '
148
148
run : |
149
149
cd tests
150
150
.\venv\Scripts\Activate.ps1
0 commit comments