2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-22 16:50:18 +08:00

Tweak benchstat workflow

This commit is contained in:
Ken Hibino 2021-01-29 16:17:23 -08:00
parent 389db8f1da
commit 5844747413

View File

@ -24,10 +24,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Benchmark - name: Benchmark
run: | run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a bench.txt
for i in {1..5}; do
go test -run=^$ -bench=. ./... | tee -a bench.txt
done
- name: Upload Benchmark - name: Upload Benchmark
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
@ -50,10 +47,7 @@ jobs:
with: with:
ref: master ref: master
- name: Benchmark - name: Benchmark
run: | run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a bench.txt
for i in {1..5}; do
go test -run=^$ -bench=. ./... | tee -a bench.txt
done
- name: Upload Benchmark - name: Upload Benchmark
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: