[PR #318] [MERGED] chore: CI/testing improvements for parallel test execution #321

Closed
opened 2026-02-16 02:17:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-py/pull/318
Author: @adrianlyjak
Created: 2/2/2026
Status: Merged
Merged: 2/2/2026
Merged by: @adrianlyjak

Base: adrian/workflows-devHead: claude/fix-ci-dependencies-YWAkN


📝 Commits (5)

  • 15e87cd fix: add pytest-xdist and pytest-timeout to utils-workflow package
  • cb181af feat: add PostgreSQL testcontainers connectivity tests
  • 728c57d Update test_postgres_connectivity.py
  • c9f0271 Update test_postgres_connectivity.py
  • 1cbbdf2 Update test_postgres_connectivity.py

📊 Changes

4 files changed (+248 additions, -1 deletions)

View changed files

📝 packages/llama-index-integration-tests/pyproject.toml (+1 -0)
packages/llama-index-integration-tests/tests/test_postgres_connectivity.py (+53 -0)
📝 packages/llama-index-utils-workflow/pyproject.toml (+3 -1)
📝 uv.lock (+191 -0)

📄 Description

  • Add workflows-dev pytest command with parallel test runner
  • Add pytest-xdist for parallel test execution (-nauto)
  • Add timeouts to prevent test hangs (--timeout=10/60/120)
  • Use module-scoped async fixtures for faster tests
  • Remove mypy in favor of basedpyright/ty type checking
  • Add test-docker CI job for integration tests with testcontainers
  • Exclude integration tests from Python 3.9/3.14 in CI matrix

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-py/pull/318 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/2/2026 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `adrian/workflows-dev` ← **Head:** `claude/fix-ci-dependencies-YWAkN` --- ### 📝 Commits (5) - [`15e87cd`](https://github.com/run-llama/workflows-py/commit/15e87cd21c2787fab27b8f02d0ec06bbc7a887e3) fix: add pytest-xdist and pytest-timeout to utils-workflow package - [`cb181af`](https://github.com/run-llama/workflows-py/commit/cb181af3171bde7d3fb746b66d27fa3d1f28109e) feat: add PostgreSQL testcontainers connectivity tests - [`728c57d`](https://github.com/run-llama/workflows-py/commit/728c57dd3556240d9d81f41f1963f61a7688518d) Update test_postgres_connectivity.py - [`c9f0271`](https://github.com/run-llama/workflows-py/commit/c9f027169410f57abaa1f7d729484bfea163ecdb) Update test_postgres_connectivity.py - [`1cbbdf2`](https://github.com/run-llama/workflows-py/commit/1cbbdf2e16ad9b15f6097152106b3ab7e531254f) Update test_postgres_connectivity.py ### 📊 Changes **4 files changed** (+248 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/llama-index-integration-tests/pyproject.toml` (+1 -0) ➕ `packages/llama-index-integration-tests/tests/test_postgres_connectivity.py` (+53 -0) 📝 `packages/llama-index-utils-workflow/pyproject.toml` (+3 -1) 📝 `uv.lock` (+191 -0) </details> ### 📄 Description - Add workflows-dev pytest command with parallel test runner - Add pytest-xdist for parallel test execution (-nauto) - Add timeouts to prevent test hangs (--timeout=10/60/120) - Use module-scoped async fixtures for faster tests - Remove mypy in favor of basedpyright/ty type checking - Add test-docker CI job for integration tests with testcontainers - Exclude integration tests from Python 3.9/3.14 in CI matrix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 02:17:14 -05:00
yindo closed this issue 2026-02-16 02:17:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-py#321