Use different CI file/folder names
This commit is contained in:
parent
f96246fecf
commit
3b5820b96a
1 changed files with 8 additions and 8 deletions
16
.github/workflows/benchmark.yml
vendored
16
.github/workflows/benchmark.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue