Skip to content

feat(cli): Check the wallet is unlocked before prompting for name (#5… #1047

feat(cli): Check the wallet is unlocked before prompting for name (#5…

feat(cli): Check the wallet is unlocked before prompting for name (#5… #1047

Workflow file for this run

name: Performance Tests
on:
workflow_dispatch:
push:
branches:
- staging
permissions:
checks: write
contents: write
jobs:
testperf:
name: Perf Tests
runs-on: [self-hosted, macOS, ARM64]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install packages
run: yarn --non-interactive --frozen-lockfile
- name: Run perf tests
run: yarn test:perf:report
- name: Check for missing fixtures
run: |
if [[ $(git status | grep fixture) ]]; then
echo "New test fixtures have not been checked in, please check them in."
exit 1
fi
- name: Import to InfluxDB
if: contains(github.event_name, 'push')
env:
INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }}
INFLUX_ORG: 'fdcfe96f6c31245a'
INFLUX_HOST: 'https://us-east-1-1.aws.cloud2.influxdata.com'
run: |
for f in ironfish/test-reports/*.perf.csv; do
influx write --bucket ironfish-telemetry-mainnet --format=csv --file $f
done