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.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Release tests like CI, UI tests on one headless application
KnifeLemonc7df53bae018
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex a0796a8e..aecc2444 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -61,8 +61,24 @@ jobs:shell: pwshrun: ./build/fetch-engines.ps1 -Only rhwp,pandoc,7zip+ # Built first and tested like CI: the UI tests on their own with crash and hang blame (a crash names the+ # running test and leaves a dump in TestResults), then the rest.+ - name: Build+ run: dotnet build Filee.slnx -c Release++ - 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 -c Release+ run: dotnet test Filee.slnx --no-build -c Release++ - name: Upload test results+ if: failure()+ uses: actions/upload-artifact@v4+ with:+ name: test-results-windows+ path: TestResults/+ if-no-files-found: ignore# Publishes the app (Release, self-contained, ReadyToRun) with the Explorer menu extension and the bundled rhwp# and 7-Zip, then compiles the installer (portable Inno Setup, pinned and verified) and zips the portable copy.diff --git a/tests/Filee.App.Tests/TestApp.cs b/tests/Filee.App.Tests/TestApp.csindex 734ac843..dc0a3187 100644--- a/tests/Filee.App.Tests/TestApp.cs+++ b/tests/Filee.App.Tests/TestApp.cs@@ -5,6 +5,9 @@ using Filee.App.Services;using Filee.Core.Settings;[assembly: AvaloniaTestApplication(typeof(Filee.App.Tests.TestAppBuilder))]+// One application for all tests. Per test, Avalonia disposes the font manager and loads the embedded Noto fonts+// again, and on Windows the test process then crashed with 0xC0000005 (only builds with the fonts, i.e. releases).+[assembly: AvaloniaTestIsolation(AvaloniaTestIsolationLevel.PerAssembly)]namespace Filee.App.Tests;