[3006.x] Add tests for NSIS installer #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Installer | |
on: | |
workflow_call: | |
inputs: | |
changed-files: | |
required: true | |
type: string | |
description: JSON string containing information about changed files | |
pull_request: | |
paths: | |
- 'pkg/windows/**' | |
jobs: | |
test: | |
name: Test | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v4 | |
# - name: Setup Python Tools Scripts | |
# uses: ./.github/actions/setup-python-tools-scripts | |
# | |
# - name: Build Windows Dummy Installer | |
# run: tools pkg build dummy-windows-installer | |
- name: Install NSIS | |
run: pkg/windows/install_nsis.cmd -CICD | |
- name: Build dummy installer | |
run: tests/pytests/pkg/installer/nsis/setup.cmd -CICD | |
- name: Install nox | |
run: pip install nox | |
- name: Run Installer Tests | |
run: nox -e "ci-test-installer" -- nsis |