summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-06-27 17:45:23 +0200
committerRobin Appelman <robin@icewind.nl>2022-06-30 15:52:33 +0200
commitd6e35dfe2cb792d13fc25a8d527369143fea4a6e (patch)
tree16744e6d04a45f7c9210f9d49568700b5806e7cb /.github
parent5d3e86a1c63fe4cdd09b0877076e21a056d74155 (diff)
downloadnextcloud-server-d6e35dfe2cb792d13fc25a8d527369143fea4a6e.tar.gz
nextcloud-server-d6e35dfe2cb792d13fc25a8d527369143fea4a6e.zip
use blueprint from repo
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/performance.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index eb7c3687d1a..e5cbac5fe8f 100644
--- a/.github/workflows/performance.yml
+++ b/.github/workflows/performance.yml
@@ -34,16 +34,19 @@ jobs:
php -S localhost:8080 &
- name: Apply blueprint
- uses: icewind1991/blueprint@v0.1.1
+ uses: icewind1991/blueprint@v0.1.2
with:
- blueprint: apps/blueprint/blueprints/small.toml
-
+ blueprint: tests/blueprints/basic.toml
+ ref: ${{ github.event.pull_request.head.ref }}
- name: Run before measurements
- uses: nextcloud/profiler@44befceb459ca489ba17a14c3f17683ab7206660
+ uses: nextcloud/profiler@fa03a1e6864fcb63fb92b8940fa72f5191baffbe
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
curl -s -u test:test http://localhost:8080/remote.php/dav/files/test/test.txt
+ curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test/many_files
+ curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
+ curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: before.json
- name: Apply PR
@@ -56,11 +59,14 @@ jobs:
- name: Run after measurements
id: compare
- uses: nextcloud/profiler@44befceb459ca489ba17a14c3f17683ab7206660
+ uses: nextcloud/profiler@fa03a1e6864fcb63fb92b8940fa72f5191baffbe
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
curl -s -u test:test http://localhost:8080/remote.php/dav/files/test/test.txt
+ curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test/many_files
+ curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
+ curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: after.json
compare-with: before.json