Files
blockly/.github/workflows/keyboard_plugin_test.yml
Ben Henning 4be1ddfb0e fix: Keyboard nav CI workflows by pointing to experimentation branch (experimental) (#9284)
## The basics

- [x] I [validated my changes](https://developers.google.com/blockly/guides/contribute/core#making_and_verifying_a_change)

## The details
### Resolves

Fixes #9283

### Proposed Changes

Updates the keyboard navigation plugin workflow to point to the screen reader experimentation branch.

### Reason for Changes

This ensures that both the plugin (via https://github.com/google/blockly-keyboard-experimentation/pull/684) and core Blockly correctly link their experimental screen reader branches against each other to ensure CI passes correctly for both.

### Test Coverage

No new tests are needed here.

### Documentation

N/A

### Additional Information

Similar to #9280, this PR will never be merged directly into `develop` so the workflow changes will remain isolated to the experimental branch.
2025-08-11 14:59:16 -07:00

67 lines
1.5 KiB
YAML

# Workflow for running the keyboard navigation plugin's automated tests.
name: Keyboard Navigation Automated Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- add-screen-reader-support-experimental
permissions:
contents: read
jobs:
webdriverio_tests:
name: WebdriverIO tests
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout core Blockly
uses: actions/checkout@v4
with:
path: core-blockly
- name: Checkout keyboard navigation plugin
uses: actions/checkout@v4
with:
repository: 'google/blockly-keyboard-experimentation'
ref: 'add-screen-reader-support-experimental'
path: blockly-keyboard-experimentation
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: NPM install
run: |
cd core-blockly
npm install
cd ..
cd blockly-keyboard-experimentation
npm install
cd ..
- name: Link latest core develop with plugin
run: |
cd core-blockly
npm run package
cd dist
npm link
cd ../../blockly-keyboard-experimentation
npm link blockly
cd ..
- name: Run keyboard navigation plugin tests
run: |
cd blockly-keyboard-experimentation
npm run test