File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches : [ master ]
77
8- concurrency :
9- group : ${{ github.workflow }}-${{ github.ref }}
10- cancel-in-progress : true
11-
128env :
139 BENCHMARK_DISABLE_JEMALLOC : true
1410
@@ -134,17 +130,16 @@ jobs:
134130
135131 # Check if master baseline exists for comparison
136132 if [ -f ".benchmarkBaselines/BenchmarkTestVectors/master/results.json" ]; then
137- echo "## 🔄 Comparison with Master Branch"
138- echo ""
139- swift package benchmark baseline check master pull_request --format markdown
133+ echo '## Summary' >> $GITHUB_STEP_SUMMARY
134+ echo $(date) >> $GITHUB_STEP_SUMMARY
135+ echo "exitStatus=1" >> $GITHUB_ENV
136+ swift package benchmark baseline check master pull_request --format markdown >> $GITHUB_STEP_SUMMARY
137+ echo '---' >> $GITHUB_STEP_SUMMARY
138+ swift package benchmark baseline compare master pull_request --no-progress --quiet --format markdown >> $GITHUB_STEP_SUMMARY
140139 echo "exitStatus=0" >> $GITHUB_ENV
141140 else
142- echo "## 🆕 First Benchmark Run"
143- echo ""
144141 echo "⚠️ Master baseline not found. This appears to be the first benchmark run."
145- echo "The following results will become the baseline for future comparisons:"
146142 echo ""
147-
148143 # Run benchmarks to generate results for first time
149144 echo "### Benchmark Results:"
150145 swift package benchmark --format markdown 2>&1 || true
You can’t perform that action at this time.
0 commit comments