Skip to content

Update README.md

Update README.md #7

Workflow file for this run

name: Unit Tests
permissions:
contents: read
pull-requests: write
on:
push:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/code_checks.yml
- .github/workflows/docs.yml
- .github/workflows/unit_tests.yml
- .github/workflows/integration_tests.yml
- '**.py'
- '**.ipynb'
- uv.lock
- pyproject.toml
- '**.rst'
- '**.md'
pull_request:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/code_checks.yml
- .github/workflows/docs.yml
- .github/workflows/unit_tests.yml
- .github/workflows/integration_tests.yml
- '**.py'
- '**.ipynb'
- uv.lock
- pyproject.toml
- '**.rst'
- '**.md'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
# Install a specific version of uv.
version: "0.8.22"
enable-cache: true
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --dev
- name: Install dependencies and check code
run: |
uv run pytest -m "not integration_test" --cov src/aieng_template_uv --cov-report=xml tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: avnlp/rag-pipelines
fail_ci_if_error: true
verbose: true