emulator: bounded dep wait with per-service diagnostics #7840
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: "Dev Environment Test" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} | |
| env: | |
| SHELL: /usr/bin/bash | |
| jobs: | |
| restart-dev-and-test: | |
| runs-on: ubicloud-standard-16 | |
| env: | |
| STACK_EXTERNAL_DB_SYNC_MAX_DURATION_MS: "20000" | |
| STACK_EXTERNAL_DB_SYNC_DIRECT: "false" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js v20 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Install packages | |
| run: pnpm install | |
| - name: Start dev environment | |
| run: pnpm run restart-dev-environment | |
| - name: Run tests | |
| run: pnpm run test run --reporter=verbose | |
| - name: Print dev server logs | |
| run: cat dev-server.log.untracked.txt | |
| if: always() |