# PR: make pr-check gives feedback within a 10-minute job budget. # Full make ci runs on default-branch pushes, every PR, or manually. # Nightly full runs need another trigger. name: Workspace source checks on: push: branches: [main] pull_request: workflow_dispatch: permissions: contents: read jobs: source-checks: if: github.event_name == 'pull_request' runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' # Selected PR units run without OpenCV/FFmpeg; full media checks stay below. - run: python3 -m pip install -e '.[media,preview,scriptgen,test]' - run: make -k pr-check full-checks: runs-on: ubuntu-latest timeout-minutes: 180 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - run: python3 -m pip install -e '.[media,preview,vision,scriptgen,test]' - run: sudo apt-get update && sudo apt-get install -y ffmpeg - uses: actions/setup-node@v4 with: node-version: '24' cache: npm cache-dependency-path: | apps/console/package-lock.json - run: npm --prefix apps/console ci - run: make -k ci