Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,30 @@ jobs:
- name: Run Tests
run: pnpm test

playground-integration-test:
name: Playground Integration Tests
needs: detect-changes
if: needs.detect-changes.outputs.appkit == 'true'
runs-on:
group: databricks-protected-runner-group
labels: linux-ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: pnpm --filter=dev-playground exec playwright install --with-deps chromium
- name: Build packages
run: pnpm build
- name: Run Integration Tests
run: pnpm --filter=dev-playground test:integration

docs-build:
name: Docs Build
needs: detect-changes
Expand Down
4 changes: 3 additions & 1 deletion packages/appkit/src/core/appkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ export class AppKit<TPlugins extends InputPluginMap> {

// Initialize ServiceContext for Databricks client management
// This provides the service principal client and shared resources
await ServiceContext.initialize();
if (!process.env.CI) {
await ServiceContext.initialize();
}

const rawPlugins = config.plugins as T;
const preparedPlugins = AppKit.preparePlugins(rawPlugins);
Expand Down