Skip to content
check-circle

GitHub Action

Guidepup Setup

0.17.2 Latest version

Guidepup Setup

check-circle

Guidepup Setup

Setup your environment for screen reader test automation

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Guidepup Setup

uses: guidepup/[email protected]

Learn more about this action in guidepup/setup-action

Choose a version

Guidepup Setup Action

Guidepup Setup Action uses the MIT license

MacOS Monetary Support MacOS Ventura Support MacOS Sonoma Support Windows 10 Support Windows Server 2019 Support Windows Server 2022 Support

GitHub Action to set up your environment for screen reader automation.

It enables automation for VoiceOver on MacOS and NVDA on Windows using the @guidepup/setup package.

Usage

Just add this step to your workflow(s) to enable steps that use screen reader automation in GitHub CI:

- name: Setup Environment
  uses: guidepup/setup-action

MacOS

Recording

If you are encountering errors in CI for MacOS you can pass a record option which will output a screen-recording of the setup to a ./recordings/ directory:

- name: Setup Environment
  uses: guidepup/setup-action
  with:
    record: true

There are also options to change the screen resolution:

- name: Setup Environment
  uses: guidepup/setup-action
  with:
    resolutionWidth: "1920"
    resolutionHeight: "1080"

Ignore TCC.db Updates

If updating the TCC.db is not possible (due to SIP) or required you can skip the database update step by passing a ignoreTccDb option:

- name: Setup Environment
  uses: guidepup/setup-action
  with:
    ignoreTccDb: true

Note

If the necessary permissions have not been granted by other means, using this flag may result in your environment not being set up for reliable screen reader automation.

Windows

NVDA Installation

When running on windows a portable NVDA instance compatible with Guidepup will be installed to a temporary directory by default. The location of this installation directory is stored in the Windows registry under the key HKCU\Software\Guidepup\Nvda.

If you want to specify the directory that NVDA is installed to you can pass a nvdaInstallDir option:

- name: Setup Environment
  uses: guidepup/setup-action
  with:
    nvdaInstallDir: <NVDA_INSTALLATION_DIRECTORY>

Supports

and more!

Powerful Tooling

Check out some of the other Guidepup modules:

Resources