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
Run release tests with the same engines as CI
KnifeLemon823d60d16d32
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f107db0b..6e082b1b 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -50,6 +50,11 @@ jobs:shell: pwshrun: ./build/build-explorer-menu.ps1 -Version ${{ steps.version.outputs.value }}+ # Same engines as CI, so the release runs the same tests (they are not part of the installer).+ - name: Fetch rhwp, Pandoc and 7-Zip for engine tests+ shell: pwsh+ run: ./build/fetch-engines.ps1 -Only rhwp,pandoc,7zip+- name: Testrun: dotnet test Filee.slnx -c Releasediff --git a/tests/Filee.Engines.Tests/PandocMarkupTests.cs b/tests/Filee.Engines.Tests/PandocMarkupTests.csindex e989e14e..d97dd64e 100644--- a/tests/Filee.Engines.Tests/PandocMarkupTests.cs+++ b/tests/Filee.Engines.Tests/PandocMarkupTests.cs@@ -5,6 +5,7 @@ using System.IO.Compression;using Filee.Core.Conversion;using Filee.Core.Presets;using Filee.Engines.Hwp.Hwpx;+using Filee.Engines.Office;namespace Filee.Engines.Tests;@@ -56,9 +57,12 @@ public class PandocMarkupTests(EngineFixture fx) : IClassFixture<EngineFixture>var planner = fx.Catalog.CreatePlanner(["pandoc"]);foreach (var (from, to) in new[] { ("rst", "docx"), ("rst", "md"), ("tex", "html"), ("tex", "epub"), ("md", "rst"), ("docx", "tex") })Assert.Equal("pandoc", Assert.Single(planner.Plan(from, to)!.Steps).Converter.Id);+ Assert.DoesNotContain(fx.Converters.Single(c => c.Id == "pandoc").Edges, e => e.To == "pdf");++ // The HWPX writer offers its Pandoc-based readers only when Pandoc is really there (not just assumed).+ Assert.SkipUnless(PandocConverter.Locate() is not null, "Pandoc not found (pwsh build/fetch-engines.ps1 -Only pandoc)");Assert.Equal("hwpx-writer", Assert.Single(planner.Plan("rst", "hwpx")!.Steps).Converter.Id);Assert.Equal("hwpx-writer", Assert.Single(planner.Plan("tex", "hwpx")!.Steps).Converter.Id);- Assert.DoesNotContain(fx.Converters.Single(c => c.Id == "pandoc").Edges, e => e.To == "pdf");}[Fact]