Use different CI file/folder names

This commit is contained in:
Fedor Indutny 2021-08-11 20:20:01 -07:00 committed by GitHub
parent f96246fecf
commit 3b5820b96a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"