Skip to content

Indicate max_concurrency for throughput and disallow running standalo… #115

Indicate max_concurrency for throughput and disallow running standalo…

Indicate max_concurrency for throughput and disallow running standalo… #115

Workflow file for this run

name: Main
on:
push:
branches:
- main
jobs:
tests:
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
uses: ./.github/workflows/testing.yml
with:
python: ${{ matrix.python }}
args: -m "smoke"
ui-tests:
uses: ./.github/workflows/ui-testing.yml
quality:
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
uses: ./.github/workflows/quality.yml
with:
python: ${{ matrix.python }}
ui-quality:
uses: ./.github/workflows/ui-quality.yml
deploy-ui-build:
needs: [ui-quality, ui-tests]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node.js 22
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm ci
- name: Build app to root
id: build
run: |
# Export vars to ensure they are loaded before build
export $(grep -v '^#' .env.development | xargs)
# Set asset prefix and base path with PR number
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/dev
BASE_PATH=/ui/dev
GIT_SHA=${{ github.sha }}
export ASSET_PREFIX=${ASSET_PREFIX}
export BASE_PATH=${BASE_PATH}
export GIT_SHA=${GIT_SHA}
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./src/ui/out
destination_dir: ui/dev
keep_files: false
user_name: ${{ github.actor }}
user_email: ${{ github.actor }}@users.noreply.github.com
publish_branch: gh-pages