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: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
rm -rf /tmp/mock
|
rm -rf /tmp/mock
|
||||||
xvfb-run --auto-servernum \
|
xvfb-run --auto-servernum ts-node Mock-Server/scripts/load-test.ts \
|
||||||
ts-node Mock-Server/scripts/load-test.ts ./node_modules/.bin/electron . | tee benchmark.log || \
|
./node_modules/.bin/electron . | tee benchmark-startup.log || \
|
||||||
(cat /tmp/mock/logs/{app,main}.log && exit 1)
|
(cat /tmp/mock/logs/{app,main}.log && exit 1)
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
|
@ -82,8 +82,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
rm -rf /tmp/mock
|
rm -rf /tmp/mock
|
||||||
xvfb-run --auto-servernum \
|
xvfb-run --auto-servernum ts-node Mock-Server/scripts/send-test.ts \
|
||||||
ts-node Mock-Server/scripts/send-test.ts ./node_modules/.bin/electron . | tee send-benchmark.log || \
|
./node_modules/.bin/electron . | tee benchmark-send.log || \
|
||||||
(cat /tmp/mock/logs/{app,main}.log && exit 1)
|
(cat /tmp/mock/logs/{app,main}.log && exit 1)
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
|
@ -91,19 +91,19 @@ jobs:
|
||||||
RUN_COUNT: 100
|
RUN_COUNT: 100
|
||||||
ELECTRON_ENABLE_STACK_DUMPING: on
|
ELECTRON_ENABLE_STACK_DUMPING: on
|
||||||
|
|
||||||
- name: Clone benchmark branch
|
- name: Clone benchmark repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: 'signalapp/Signal-Desktop-Benchmarks-Private'
|
repository: 'signalapp/Signal-Desktop-Benchmarks-Private'
|
||||||
path: 'benchmark-results'
|
path: 'benchmark-results'
|
||||||
token: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
token: ${{ secrets.AUTOMATED_GITHUB_PAT }}
|
||||||
|
|
||||||
- name: Push benchmark branch
|
- name: Push benchmark repo
|
||||||
working-directory: benchmark-results
|
working-directory: benchmark-results
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
node ./bin/collect.js ../benchmark.log data.json
|
node ./bin/collect.js ../benchmark-startup.log data/startup.json
|
||||||
node ./bin/collect.js ../send-benchmark.log send-data.json
|
node ./bin/collect.js ../benchmark-send.log data/send.json
|
||||||
npm run build
|
npm run build
|
||||||
git config --global user.email "no-reply@signal.org"
|
git config --global user.email "no-reply@signal.org"
|
||||||
git config --global user.name "Signal Bot"
|
git config --global user.name "Signal Bot"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue