2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-22 08:40:22 +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
uses: actions/checkout@v2
- name: Benchmark
run: |
for i in {1..5}; do
go test -run=^$ -bench=. ./... | tee -a bench.txt
done
run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a bench.txt
- name: Upload Benchmark
uses: actions/upload-artifact@v2
with:
@ -50,10 +47,7 @@ jobs:
with:
ref: master
- name: Benchmark
run: |
for i in {1..5}; do
go test -run=^$ -bench=. ./... | tee -a bench.txt
done
run: go test -run=^$ -bench=. -count=5 -timeout=60m ./... | tee -a bench.txt
- name: Upload Benchmark
uses: actions/upload-artifact@v2
with: