Skip to content

chore: move as dev dependencies #843

chore: move as dev dependencies

chore: move as dev dependencies #843

Workflow file for this run

name: Pull request tests

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

`false` is not a valid event name
on:
false
# pull_request:
# branches:
# - main
jobs:
build:
runs-on: large_ubuntu_32
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.node-version }}
- run: cp .env.example .env
- run: npm ci --include=optional
- run: npm run prettier:check
- name: "npm CI test"
run: |
# sometimes not created and is not tailed
touch fhevm.log
npm run fhevm:start &
sleep 60
npm run test:inband
- name: "Print logs"
shell: bash
if: success() || failure()
run: |
echo "###################### KMS Sync logs ###########################"
docker container exec fhevm cat /config/kms-server-sync.log
echo "###################### KMS Sync Errs ###########################"
docker container exec fhevm cat /config/kms-server-sync.err
echo "###################### KMS Async logs ###########################"
docker container exec fhevm cat /config/kms-server-async.log
echo "###################### KMS Async Errs ###########################"
docker container exec fhevm cat /config/kms-server-async.err
echo "###################### Aggregator logs ###########################"
docker container exec fhevm cat /config/aggregator.log
echo "###################### Aggregator Errs ###########################"
docker container exec fhevm cat /config/aggregator.err
echo "###################### Gateway logs ###########################"
docker container exec fhevm cat /config/gateway-service.log
echo "###################### Gateway Errs ###########################"
docker container exec fhevm cat /config/gateway-service.err