feat(store): foundation-aware dependency gate (opt-in dep_gate: revie… #18
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: CI | |
| # Lint + test the plugin. Runs on the org's Namespace Linux profile (not a | |
| # GitHub-hosted runner) to keep CI cost down — the same profile the rest of the | |
| # org's repos use. Falls back to a hosted runner on a fork that lacks the | |
| # profile by overriding the NSC_RUNNER repo variable. | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ${{ vars.NSC_RUNNER || 'namespace-profile-protolabs-linux' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dev deps | |
| run: pip install -r requirements-dev.txt ruff | |
| - name: Lint | |
| run: ruff check . && ruff format --check . | |
| - name: Test | |
| run: pytest -q |