From 62b2d2c08fb30aa1a93366c85dfa6f778c965ce1 Mon Sep 17 00:00:00 2001 From: Christopher Hirt Date: Fri, 14 Jun 2024 15:19:57 +0700 Subject: [PATCH] ignore 2 tests on CI These tests are not intended to run on CI --- .github/workflows/build-test-installer-release.yml | 2 +- src/SolidGui.Tests/Export/ExportLiftTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-installer-release.yml b/.github/workflows/build-test-installer-release.yml index 1fa3312..7e587b0 100644 --- a/.github/workflows/build-test-installer-release.yml +++ b/.github/workflows/build-test-installer-release.yml @@ -32,7 +32,7 @@ jobs: run: dotnet build src/solid.sln --no-restore - name: Run NUnit Tests - run: dotnet test output/net461/*Tests.dll --no-build -- NUnit.TestOutputXml=TestResults + run: dotnet test output/net461/*Tests.dll --no-build -- NUnit.TestOutputXml=TestResults --filter "TestCategory!=SkipOnCI" # clear output directory # build for release ? diff --git a/src/SolidGui.Tests/Export/ExportLiftTests.cs b/src/SolidGui.Tests/Export/ExportLiftTests.cs index 5d276e7..93a5454 100644 --- a/src/SolidGui.Tests/Export/ExportLiftTests.cs +++ b/src/SolidGui.Tests/Export/ExportLiftTests.cs @@ -432,7 +432,7 @@ public void SemanticDomain_WithTwoDomains_ExportsTwoTraitUnderSense() /// /// this test is half-baked... if there's no english ldml on the machine, it won't work (e.g. on teamcity) /// - [Test, Category("SkipOnTeamCity")] + [Test, Category("SkipOnCI")] public void WritingSystems_WSFolderNotThere_CreatesItAndCopiesWritingSystemsToWritingSystemFolder() { using (var e = new ExportTestScenario()) @@ -456,7 +456,7 @@ public void WritingSystems_WSFolderNotThere_CreatesItAndCopiesWritingSystemsToWr /// /// this test is half-baked... if there's no english ldml on the machine, it won't work (e.g. on teamcity) /// - [Test, Category("SkipOnTeamCity")] + [Test, Category("SkipOnCI")] public void WritingSystems_WSFolderAlreadyExists_CopiesWritingSystemsToWritingSystemFolder() { using (var e = new ExportTestScenario())