Skip to content

GitHub Action to setup your CI for screen reader test automation.

License

Notifications You must be signed in to change notification settings

guidepup/setup-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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