Repository navigation
test(e2e): cover all routes/modes, render dashboard in CI, fix issues found (P1 of #31) #72
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: validate | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.8", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: actions/setup-python@v5.6.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: actions/setup-node@v7.0.0 | |
| with: | |
| node-version: "22" | |
| - run: python3 -m pip install pyyaml==6.0.3 | |
| - run: bash scripts/validate.sh | |
| - run: bash scripts/test-observability.sh | |
| - run: bash scripts/smoke-install.sh | |
| - run: bash scripts/smoke-npm.sh | |
| tcmcp: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: actions/setup-python@v5.6.0 | |
| with: | |
| python-version: "3.11" | |
| - uses: actions/setup-node@v7.0.0 | |
| with: | |
| node-version: "22" | |
| - name: Test tcmcp | |
| working-directory: tools/tcmcp | |
| run: | | |
| python3 -m venv .venv | |
| .venv/bin/pip install -e '.[dev]' | |
| .venv/bin/python -m pytest | |
| - name: Build frontend | |
| working-directory: tools/tcmcp/web | |
| run: npm ci && npm run build | |
| secrets: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - run: bash scripts/scan-secrets.sh |