From 3b5820b96a589d8659485c9de9a3303f68f19a10 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 11 Aug 2021 20:20:01 -0700 Subject: [PATCH] Use different CI file/folder names --- .github/workflows/benchmark.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 996f5fbbbf4..6d8a3c6df0f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -69,8 +69,8 @@ jobs: run: | set -o pipefail rm -rf /tmp/mock - xvfb-run --auto-servernum \ - ts-node Mock-Server/scripts/load-test.ts ./node_modules/.bin/electron . | tee benchmark.log || \ + xvfb-run --auto-servernum ts-node Mock-Server/scripts/load-test.ts \ + ./node_modules/.bin/electron . | tee benchmark-startup.log || \ (cat /tmp/mock/logs/{app,main}.log && exit 1) timeout-minutes: 10 env: @@ -82,8 +82,8 @@ jobs: run: | set -o pipefail rm -rf /tmp/mock - xvfb-run --auto-servernum \ - ts-node Mock-Server/scripts/send-test.ts ./node_modules/.bin/electron . | tee send-benchmark.log || \ + xvfb-run --auto-servernum ts-node Mock-Server/scripts/send-test.ts \ + ./node_modules/.bin/electron . | tee benchmark-send.log || \ (cat /tmp/mock/logs/{app,main}.log && exit 1) timeout-minutes: 10 env: @@ -91,19 +91,19 @@ jobs: RUN_COUNT: 100 ELECTRON_ENABLE_STACK_DUMPING: on - - name: Clone benchmark branch + - name: Clone benchmark repo uses: actions/checkout@v2 with: repository: 'signalapp/Signal-Desktop-Benchmarks-Private' path: 'benchmark-results' token: ${{ secrets.AUTOMATED_GITHUB_PAT }} - - name: Push benchmark branch + - name: Push benchmark repo working-directory: benchmark-results run: | npm ci - node ./bin/collect.js ../benchmark.log data.json - node ./bin/collect.js ../send-benchmark.log send-data.json + node ./bin/collect.js ../benchmark-startup.log data/startup.json + node ./bin/collect.js ../benchmark-send.log data/send.json npm run build git config --global user.email "no-reply@signal.org" git config --global user.name "Signal Bot"