Skip to content

ci(llmobs): parallelize openai job by Node version #25

ci(llmobs): parallelize openai job by Node version

ci(llmobs): parallelize openai job by Node version #25

Workflow file for this run

name: Electron
on:
pull_request:
push:
branches: [master]
schedule:
- cron: 0 4 * * *
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
jobs:
macos:
runs-on: macos-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
- run: yarn test:integration:electron
ubuntu:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
# Electron needs a display even for headless (show: false) windows.
# xvfb-run provides a virtual framebuffer so the test can run without a physical display.
- run: xvfb-run --auto-servernum yarn test:integration:electron