Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

CI: run the UI tests on their own with crash and hang blame first

KnifeLemon78947ff9b542
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4ab64d9e..0d01ca67 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -71,6 +71,11 @@ jobs:
shell: pwsh
run: ./build/fetch-engines.ps1 -Only rhwp,pandoc,7zip
+ # The UI tests on their own first, as the release runs them (there they crashed with 0xC0000005): a crash
+ # names the test that was running and leaves a dump in TestResults.
+ - name: Test UI on its own
+ run: dotnet test tests/Filee.App.Tests --no-build -c Release --blame-crash --blame-hang-timeout 5m --logger "console;verbosity=normal" --results-directory TestResults/app
+
- name: Test
run: dotnet test Filee.slnx --no-build -c Release --logger "trx" --results-directory TestResults
@@ -79,6 +84,14 @@ jobs:
shell: pwsh
run: ./build/build-installer.ps1 -CheckOnly
+ - name: Upload test results
+ if: failure()
+ uses: actions/upload-artifact@v4
+ with:
+ name: test-results-windows
+ path: TestResults/
+ if-no-files-found: ignore
+
- name: Upload UI screenshots
if: always()
uses: actions/upload-artifact@v4