Skip to content

feat: CodeLens v8.0.0 — 7 killer features to surpass all code analysi… #3

feat: CodeLens v8.0.0 — 7 killer features to surpass all code analysi…

feat: CodeLens v8.0.0 — 7 killer features to surpass all code analysi… #3

Workflow file for this run

name: CodeLens CI
on:
push:
branches: [main, 'feature/**']
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install pyyaml tree-sitter pytest
- name: Run tests
run: python -m pytest tests/ -v --tb=short
- name: Run benchmarks
run: python3 benchmarks/run_benchmarks.py --quick
- name: Check regression
run: python3 benchmarks/check_regression.py
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install linter
run: pip install ruff
- name: Lint
run: ruff check scripts/ tests/