mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-10-21 19:26:16 +00:00
The nightly run was cancelled at its 120-minute limit every night until
it was disabled. The cause was the Elapsed clock, which kept the test
process alive and is fixed (a909c07): test:all now completes in about
80 seconds. A 20-minute limit leaves a wide margin and turns a future
hang into a failure within the hour rather than two runner-hours.
27 lines
578 B
YAML
27 lines
578 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/*'
|
|
- name: ${{ matrix.step }}
|
|
run: |
|
|
yarn install --immutable
|
|
yarn ${{ matrix.step }}
|