Repository navigation
ci: 전체 테스트 부하를 운영 중계 Mac에서 분리 #777
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Coverage | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'README.md' | |
| - 'scripts/ops/README.md' | |
| - 'assets/analytics/**' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| select-runner: | |
| uses: ./.github/workflows/select-local-runner.yml | |
| with: | |
| cloud-runner: ubuntu-latest | |
| # 운영 중계와 전체 테스트의 CPU·메모리를 분리합니다. | |
| force-cloud: true | |
| secrets: | |
| status-token: ${{ secrets.LOCAL_RUNNER_STATUS_TOKEN }} | |
| coverage: | |
| needs: select-runner | |
| runs-on: ${{ fromJSON(needs.select-runner.outputs.runner) }} | |
| name: Coverage 100% | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '24' | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Coverage gate (100%) | |
| run: npm run test:coverage |