Files
StepForge/.gitea/workflows/tests.yaml
T
Tyler 4732c5daf3 Limit CI test run to main and manual triggers
Pushes to main (direct commits and merged PRs) and manual
workflow_dispatch now trigger the test job; feature-branch pushes and
PR open/sync no longer do.
2026-06-15 10:29:26 -05:00

24 lines
483 B
YAML

name: Template tests
on:
push:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: MOMP-AUTODOC
steps:
- name: Checkout repository
uses: https://gitea.com/actions/checkout@v4
- name: Install dependencies
run: npm ci --cache ~/.npm --prefer-offline
- name: Run template tests
env:
ELECTRON_ENABLE_LOGGING: "1"
ELECTRON_DISABLE_SANDBOX: "1"
run: xvfb-run -a bash tests/run_test.sh