Skip to content

[3006.x] Add tests for NSIS installer #6

[3006.x] Add tests for NSIS installer

[3006.x] Add tests for NSIS installer #6

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