Skip to content

move to tantivy so we can run inproc and have no WSL or docker depend… #164

move to tantivy so we can run inproc and have no WSL or docker depend…

move to tantivy so we can run inproc and have no WSL or docker depend… #164

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
codeql:
name: CodeQL analysis
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
matrix:
language: [python, javascript-typescript]
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: .github/codeql/codeql-config.yml
- uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Python dependencies
run: |
python3 -m venv .client-venv
.client-venv/bin/pip install -q -r requirements-dev.txt
- name: Write config.json
run: echo '{"api_key":"ci-test-key","port":8108,"roots":{}}' > config.json
- name: Run Python tests
run: .client-venv/bin/pytest tests/ query/tests/ -v
- name: Run VS Code extension tests
run: node run_tests.mjs