From ba845ebe1d581e8fb36a76feb3d33944b1769c87 Mon Sep 17 00:00:00 2001 From: dongyuwei Date: Wed, 30 Oct 2024 20:20:13 +0800 Subject: [PATCH] Update ci.yaml to run unit tests before build. --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 778c36c7..c593381a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,6 +12,9 @@ jobs: - uses: actions/checkout@v3 with: submodules: 'true' + - name: Run Unit Tests + run: | + cmd /C ".\python\python3\virtualenv\Scripts\python.exe" ".\python\input_methods\hallelujah\test.py" - name: Use Install NSIS uses: repolevedavaj/install-nsis@v1.0.2 with: @@ -25,4 +28,4 @@ jobs: - uses: actions/upload-artifact@v4 with: name: Installer - path: installer/*.exe \ No newline at end of file + path: installer/*.exe