Skip to content

fix: fund test admins within what create-test-admins can supply #20

fix: fund test admins within what create-test-admins can supply

fix: fund test admins within what create-test-admins can supply #20

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
# TEMPORARY: remove before merging. Lets the debug branch trigger CI on push.
push:
branches:
- ci/debug-vault-init
jobs:
test:
name: Testing
runs-on: ubuntu-latest
# Generous, so a phase overrunning trips its own step timeout while the job
# still has budget left to run the diagnostics. A job-level timeout cancels
# the job outright and `if: failure()` steps never run.
timeout-minutes: 50
env:
CI: true
steps:
- uses: actions/checkout@v5
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v5
with:
node-version: "22.x"
cache: "yarn"
cache-dependency-path: "tests/yarn.lock"
- name: install dependencies
run: yarn --immutable
working-directory: tests
# Split from a single `yarn test` so the run reports how long the
# environment takes to come up separately from the test suite itself.
- name: start environment
run: yarn test:start
working-directory: tests
timeout-minutes: 15
- name: run tests
run: yarn test:run
working-directory: tests
timeout-minutes: 25
- name: dump environment logs
if: failure()
run: |
docker compose --env-file envs/latest ps --all || true
docker compose --env-file envs/latest logs --no-color --timestamps || true
- name: stop environment
if: always()
run: yarn test:stop
working-directory: tests