Skip to content

Use GitHub Actions to build and test NVDA #80

Use GitHub Actions to build and test NVDA

Use GitHub Actions to build and test NVDA #80

Workflow file for this run

name: Unit tests
on:
push:
branches:
- master
- beta
- rc
- try-**
- release-**
- githubActions # To be removed
pull_request:
branches:
- master
- beta
- rc
- try-**
- release-**
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
if: $GITHUB_EVENT_NAME == 'pull_request'
pullRequestNumber: ${{ github.event.number }}
jobs:
unitTests:
runs-on: windows-latest
defaults:
run:
shell: cmd
steps:
- name: Checkout NVDA
uses: actions/checkout@v4
with:
submodules: true
- name: Build NVDA
uses: ./nvdaBuilder
- name: Run unit tests
run: powershell.exe ci/scripts/tests/unitTests.ps1