Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ jobs:
run: uv run pytest tests/ -q --cov=evalwire --cov-report=term-missing --cov-fail-under=85

test-integration:
name: Integration tests
name: Integration tests (phoenix v${{ matrix.phoenix-major }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
phoenix-major: [13, 14]

steps:
- uses: actions/checkout@v6
Expand All @@ -83,6 +87,16 @@ jobs:
- name: Install dependencies
run: uv sync --group dev

- name: Pin arize-phoenix to major ${{ matrix.phoenix-major }}
run: |
MAJOR=${{ matrix.phoenix-major }}
NEXT=$((MAJOR + 1))
if [ "$MAJOR" -lt 14 ]; then
uv pip install "arize-phoenix>=${MAJOR},<${NEXT}" "arize-phoenix-evals<3.0" --prerelease=allow
else
uv pip install "arize-phoenix>=${MAJOR},<${NEXT}"
fi

- name: Run integration tests
run: uv run pytest tests/ -q -m integration

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ filterwarnings = [
"ignore::DeprecationWarning:pydantic",
"ignore::DeprecationWarning:alembic",
"ignore::sqlalchemy.exc.SAWarning",
"ignore::UserWarning:phoenix.client",
]
markers = [
"integration: tests that require a running Phoenix instance (deselect with '-m not integration')",
Expand Down
Loading