mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Compare commits
3 Commits
AddBuildIm
...
DontAddTem
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
302aad97c5 | ||
|
|
17975e3491 | ||
|
|
e1e7fde7bc |
@@ -818,7 +818,6 @@ namespace GitHub.Runner.Common
|
||||
|
||||
return mergedRecords;
|
||||
}
|
||||
|
||||
private async Task UploadFile(UploadFileInfo file)
|
||||
{
|
||||
bool uploadSucceed = false;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
@@ -163,7 +163,6 @@ namespace GitHub.DistributedTask.ObjectTemplating
|
||||
message = $"{prefix} {message}";
|
||||
}
|
||||
|
||||
Errors.Add(message);
|
||||
TraceWriter.Error(message);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,10 +15,6 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="coverlet.collector" Version="3.2.0">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
||||
|
||||
12
src/dev.sh
12
src/dev.sh
@@ -194,10 +194,6 @@ function layout ()
|
||||
|
||||
function runtest ()
|
||||
{
|
||||
if [[ ! -d "$LAYOUT_DIR" ]]; then
|
||||
echo "$LAYOUT_DIR doesn't exist. Generating it now ..."
|
||||
layout
|
||||
fi
|
||||
heading "Testing ..."
|
||||
|
||||
if [[ ("$CURRENT_PLATFORM" == "linux") || ("$CURRENT_PLATFORM" == "darwin") ]]; then
|
||||
@@ -207,13 +203,6 @@ function runtest ()
|
||||
dotnet msbuild -t:test -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:RunnerVersion="${RUNNER_VERSION}" ./dir.proj || failed "failed tests"
|
||||
}
|
||||
|
||||
function coverage ()
|
||||
{
|
||||
heading "Coverage ..."
|
||||
cd Test && dotnet test --collect:"XPlat Code Coverage;Format=json"
|
||||
# reportgenerator -reports:"/workspaces/runner/src/Test/TestResults/ecf2bd75-83e9-489a-9339-d61293abf98b/coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html
|
||||
}
|
||||
|
||||
function format()
|
||||
{
|
||||
heading "Formatting..."
|
||||
@@ -380,7 +369,6 @@ case $DEV_CMD in
|
||||
"p") package;;
|
||||
"format") format;;
|
||||
"f") format;;
|
||||
"c") coverage;;
|
||||
*) echo "Invalid cmd. Use build(b), test(t), layout(l), package(p), or format(f)";;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user