Skip to content

Commit

Permalink
Merge pull request mito-ds#1282 from mito-ds/large-runners-prerelease
Browse files Browse the repository at this point in the history
Use large runners on prerelease tests
  • Loading branch information
aarondr77 authored Mar 14, 2024
2 parents d97fb64 + 2b4af3a commit 356b485
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/prerelease-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
os: ['ubuntu-latest-m', 'macos-latest', 'windows-latest-l']
python-version: ['3.10']
demo: ['vanguard-fund-performance']
project: ['chromium', 'firefox', 'webkit', 'Google Chrome', 'Microsoft Edge']
exclude:
- os: 'windows-latest'
- os: 'windows-latest-l'
project: webkit
- os: 'macos-latest'
project: 'Microsoft Edge'
- os: 'ubuntu-latest'
- os: 'ubuntu-latest-m'
project: 'Microsoft Edge'
- os: 'ubuntu-latest'
- os: 'ubuntu-latest-m'
project: 'webkit'
fail-fast: false
runs-on: ${{ matrix.os }}
Expand All @@ -95,7 +95,7 @@ jobs:
cache: 'npm'
cache-dependency-path: mitosheet/package-lock.json
- name: Install dependencies (ubuntu, macos)
if: matrix.os != 'windows-latest'
if: matrix.os != 'windows-latest-l'
run: |
cd tests
python3 -m venv venv
Expand All @@ -106,13 +106,13 @@ jobs:
npm install
npx playwright install chromium webkit firefox chrome
- name: Setup streamlit (ubuntu, macos)
if: matrix.os != 'windows-latest'
if: matrix.os != 'windows-latest-l'
run: |
mkdir -p ~/.streamlit/
echo "[general]" > ~/.streamlit/credentials.toml
echo "email = \"\"" >> ~/.streamlit/credentials.toml
- name: Setup streamlit (windows)
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-latest-l'
run: |
$streamlitDir = "$HOME\.streamlit"
if (-not (Test-Path -Path $streamlitDir)) {
Expand All @@ -123,7 +123,7 @@ jobs:
email = ""
"@
- name: Install dependencies (windows)
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-latest-l'
run: |
cd tests
python3 -m venv venv
Expand All @@ -134,7 +134,7 @@ jobs:
npm install
npx playwright install chromium webkit firefox chrome
- name: Start a server and run tests (ubuntu, macos)
if: matrix.os != 'windows-latest'
if: matrix.os != 'windows-latest-l'
run: |
cd tests
source venv/bin/activate
Expand All @@ -144,7 +144,7 @@ jobs:
bash ../check_server.sh
npm run test:streamlit:demo -- --project="${{ matrix.project }}"
- name: Start a server and run tests (windows)
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-latest-l'
run: |
cd tests
.\venv\Scripts\Activate.ps1
Expand Down

0 comments on commit 356b485

Please sign in to comment.