Skip to content

Commit

Permalink
Fix formatting of the benchmark names in GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Sep 13, 2023
1 parent 650d372 commit 00d2ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eng/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ let benchmark _ =
dotNetRun benchmarkProject None DotNet.BuildConfiguration.Release "" benchmarkArguments
match Environment.environVarOrNone "GITHUB_STEP_SUMMARY" with
| Some stepSummary ->
let regex = Regex("Farkle\.Benchmarks\.CSharp\.(\w+)-report-github\.md")
let regex = Regex("Farkle\.Benchmarks\.(\w+)-report-github\.md")
use writer = new StreamWriter(File.OpenWrite stepSummary)
writer.WriteLine("# Benchmark report")
benchmarkReports
Expand Down
2 changes: 1 addition & 1 deletion performance/Farkle.Benchmarks.CSharp/JsonBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Farkle6 = farkle6::Farkle;
using ParserState = Farkle.Parser.ParserState;

namespace Farkle.Benchmarks.CSharp;
namespace Farkle.Benchmarks;

[MemoryDiagnoser, GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
public class JsonBenchmark
Expand Down

0 comments on commit 00d2ab2

Please sign in to comment.