Misc tests improvement

This commit is contained in:
Łukasz Domeradzki
2025-05-07 23:58:11 +02:00
parent 449f3556a7
commit cf9a578815
3 changed files with 3 additions and 3 deletions

View File

@@ -38,4 +38,4 @@ jobs:
run: dotnet build -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo
- name: Run ${{ matrix.configuration }} ArchiSteamFarm.Tests
run: dotnet test ArchiSteamFarm.Tests -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo
run: dotnet test ArchiSteamFarm.Tests -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --filter TestCategory!=Manual --nologo

View File

@@ -40,7 +40,7 @@ internal sealed class IGitHubPluginUpdates {
private const string PluginName = "ArchiSteamFarm.OfficialPlugins.Monitoring";
private const string Repository = "JustArchiNET/ArchiSteamFarm";
[Ignore("For manual testing only, since it calls remote resources")]
[TestCategory("Manual")]
[TestMethod]
internal async Task DoesNotOfferPointlessUpdatesWhenMultipleAssetsAreFound() {
using WebBrowser webBrowser = new(new ArchiLogger("Test"));

2
cc.sh
View File

@@ -127,7 +127,7 @@ if [ "$CLEAN" -eq 1 ]; then
fi
if [ "$TEST" -eq 1 ]; then
dotnet test "$TESTS_PROJECT" $DOTNET_FLAGS
dotnet test "$TESTS_PROJECT" --filter TestCategory!=Manual $DOTNET_FLAGS
fi
echo "INFO: Building ${MAIN_PROJECT}..."