Run unit tests on github ci #21
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: Build | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Unit tests | |
run: | | |
.\python\python3\virtualenv\Scripts\python.exe .\python\input_methods\hallelujah\test.py | |
- name: Use Install NSIS | |
uses: repolevedavaj/[email protected] | |
with: | |
nsis-version: 3.08 | |
- name: Build IME Text Service | |
run: | | |
.\build_github_ci.bat | |
- name: Build the installer | |
run: | | |
cmd /C "C:\Program Files (x86)\NSIS\Bin\makensis.exe" ".\installer\installer.nsi" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Installer | |
path: installer/*.exe |