mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
fix: oha as per latest updates.
This commit is contained in:
parent
b52c49389c
commit
6a74273564
1 changed files with 2 additions and 2 deletions
4
.github/workflows/benchmark.yml
vendored
4
.github/workflows/benchmark.yml
vendored
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
sudo apt update
|
||||
sudo apt install oha
|
||||
- name: Benchmark PR
|
||||
run: 'oha -z 180s http://localhost/v1/health/version -o json > benchmark.json'
|
||||
run: 'oha -z 180s http://localhost/v1/health/version --output-format json --output benchmark.json'
|
||||
- name: Cleaning
|
||||
run: docker compose down -v
|
||||
- name: Installing latest version
|
||||
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
docker compose up -d
|
||||
sleep 10
|
||||
- name: Benchmark Latest
|
||||
run: 'oha -z 180s http://localhost/v1/health/version -o json > benchmark-latest.json'
|
||||
run: 'oha -z 180s http://localhost/v1/health/version --output-format json --output benchmark-latest.json'
|
||||
- name: Prepare comment
|
||||
run: |
|
||||
echo '## :sparkles: Benchmark results' > benchmark.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue