From 2b4af3a2efec9275b5bed347eb9ce63d43bb1452 Mon Sep 17 00:00:00 2001 From: Martha Cryan Date: Thu, 14 Mar 2024 18:26:27 -0500 Subject: [PATCH] Use large runners on prerelease tests --- .github/workflows/prerelease-tests.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/prerelease-tests.yml b/.github/workflows/prerelease-tests.yml index 436f02b0e..76a9cb5f0 100644 --- a/.github/workflows/prerelease-tests.yml +++ b/.github/workflows/prerelease-tests.yml @@ -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 }} @@ -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 @@ -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)) { @@ -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 @@ -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 @@ -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