vxa8502 commited on
Commit
4cdd0ab
·
1 Parent(s): 676a738

Local make ci now matches GitHub CI

Browse files
Files changed (2) hide show
  1. .github/workflows/ci.yml +1 -1
  2. Makefile +8 -1
.github/workflows/ci.yml CHANGED
@@ -36,5 +36,5 @@ jobs:
36
  - uses: actions/setup-python@v5
37
  with:
38
  python-version: "3.11"
39
- - run: pip install -e ".[dev,api,anthropic,openai]"
40
  - run: python -m pytest tests/ -v
 
36
  - uses: actions/setup-python@v5
37
  with:
38
  python-version: "3.11"
39
+ - run: pip install -e ".[dev,api,anthropic,openai,pipeline]"
40
  - run: python -m pytest tests/ -v
Makefile CHANGED
@@ -313,7 +313,14 @@ typecheck:
313
  test:
314
  $(PYTHON) -m pytest tests/ -v
315
 
316
- ci: lint typecheck test
 
 
 
 
 
 
 
317
  @echo "All CI checks passed"
318
 
319
  # ---------------------------------------------------------------------------
 
313
  test:
314
  $(PYTHON) -m pytest tests/ -v
315
 
316
+ ci:
317
+ rm -rf .venv
318
+ python -m venv .venv
319
+ . .venv/bin/activate && pip install -e ".[dev,api,anthropic,openai,pipeline]" && \
320
+ $(RUFF) check sage/ scripts/ tests/ && \
321
+ $(RUFF) format --check sage/ scripts/ tests/ && \
322
+ $(MYPY) sage/ --ignore-missing-imports && \
323
+ $(PYTHON) -m pytest tests/ -v
324
  @echo "All CI checks passed"
325
 
326
  # ---------------------------------------------------------------------------