mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-15 22:10:30 +00:00
Misc tests improvement
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -38,4 +38,4 @@ jobs:
|
|||||||
run: dotnet build -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo
|
run: dotnet build -c "${{ matrix.configuration }}" -p:ContinuousIntegrationBuild=true -p:UseAppHost=false --nologo
|
||||||
|
|
||||||
- name: Run ${{ matrix.configuration }} ArchiSteamFarm.Tests
|
- 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
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ internal sealed class IGitHubPluginUpdates {
|
|||||||
private const string PluginName = "ArchiSteamFarm.OfficialPlugins.Monitoring";
|
private const string PluginName = "ArchiSteamFarm.OfficialPlugins.Monitoring";
|
||||||
private const string Repository = "JustArchiNET/ArchiSteamFarm";
|
private const string Repository = "JustArchiNET/ArchiSteamFarm";
|
||||||
|
|
||||||
[Ignore("For manual testing only, since it calls remote resources")]
|
[TestCategory("Manual")]
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
internal async Task DoesNotOfferPointlessUpdatesWhenMultipleAssetsAreFound() {
|
internal async Task DoesNotOfferPointlessUpdatesWhenMultipleAssetsAreFound() {
|
||||||
using WebBrowser webBrowser = new(new ArchiLogger("Test"));
|
using WebBrowser webBrowser = new(new ArchiLogger("Test"));
|
||||||
|
|||||||
2
cc.sh
2
cc.sh
@@ -127,7 +127,7 @@ if [ "$CLEAN" -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TEST" -eq 1 ]; then
|
if [ "$TEST" -eq 1 ]; then
|
||||||
dotnet test "$TESTS_PROJECT" $DOTNET_FLAGS
|
dotnet test "$TESTS_PROJECT" --filter TestCategory!=Manual $DOTNET_FLAGS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "INFO: Building ${MAIN_PROJECT}..."
|
echo "INFO: Building ${MAIN_PROJECT}..."
|
||||||
|
|||||||
Reference in New Issue
Block a user