feat: integrate anthropic with tool call block #28174
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Testing | |
on: | |
pull_request: | |
env: | |
# How many concurrent processes running pytest in a single CI job | |
NUM_WORKERS: 8 | |
jobs: | |
test: | |
runs-on: ubuntu-latest-unit-tester | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y portaudio19-dev | |
- name: Install uv and set the python version | |
uses: astral-sh/setup-uv@v7 | |
with: | |
python-version: ${{ matrix.python-version }} | |
enable-cache: true | |
- name: Run tests | |
shell: bash | |
working-directory: llama-dev | |
run: | | |
git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }} | |
uv run -- llama-dev \ | |
--repo-root ".." ${{ runner.debug && '--debug' || '' }} test \ | |
--workers ${{ env.NUM_WORKERS }} \ | |
--base-ref ${{ github.event.pull_request.base.ref }} |