Skip to content

feat(store): foundation-aware dependency gate (opt-in dep_gate: revie… #18

feat(store): foundation-aware dependency gate (opt-in dep_gate: revie…

feat(store): foundation-aware dependency gate (opt-in dep_gate: revie… #18

Workflow file for this run

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