mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-10-20 18:56:30 +00:00
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.
30 lines
713 B
YAML
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 }}
|