Skip to content

import without individual providers #6

import without individual providers

import without individual providers #6

Workflow file for this run

name: Tests
on:
push:
branches:
- dev
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y tesseract-ocr
- name: Install core package only (no providers)
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Verify import without provider SDKs
run: |
python -c "from covenance import ask_llm, Covenance, print_usage; print('Import OK')"
- name: Install all dependencies
run: |
pip install -e ".[all,dev]"
- name: Run pytest
run: pytest --cov --cov-branch --cov-report=xml
env:
CI: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}