Files
pezkuwi-apps/.github/workflows/test-nightly.yml
Satoshi Qazi Muhammed 3f40fff03b CI: start a dev node for the slow specs on every PR and nightly
A new PR job, test:slow, starts a bizinikiwi dev node and runs the .slow.
specs. The nightly test:all includes them, so it starts the same node.
start-dev-node.sh pins the image by digest and fails when the node does not
answer, so the specs never run without one.
2026-10-12 01:46:05 +04:00

30 lines
713 B
YAML

name: Nightly tests run
on:
workflow_dispatch:
schedule:
- cron: '1 5 * * *'
jobs:
alltests:
strategy:
matrix:
step: ['test:all']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
# the full suite runs in about 2 minutes; a hang fails early instead of
# holding a runner for hours
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
# test:all includes the .slow. specs, which need a live dev node
- name: dev node
run: .github/scripts/start-dev-node.sh
- name: ${{ matrix.step }}
run: |
yarn install --immutable
yarn ${{ matrix.step }}