Skip to content

Add parelized tests#11

Merged
erseco merged 3 commits intomainfrom
feature/run-paralelized-tests
Aug 5, 2025
Merged

Add parelized tests#11
erseco merged 3 commits intomainfrom
feature/run-paralelized-tests

Conversation

@erseco
Copy link
Owner

@erseco erseco commented Aug 5, 2025

This pull request introduces improvements to the testing workflow and development environment setup. The main changes are the addition of parallel test execution for local and staging environments, and the introduction of a dedicated set of optional development dependencies in pyproject.toml for easier setup. The help output in the Makefile is also updated to reflect these changes.

Testing workflow improvements:

  • Enabled parallel execution of tests for both local and staging environments by adding the -n auto flag to the pytest commands in the Makefile.
  • Updated the help section in the Makefile to indicate that tests are now run in parallel.

Development environment setup:

  • Added a [project.optional-dependencies] section named dev in pyproject.toml, listing common development tools such as pytest, flake8, black, mypy, and documentation generators for easier developer onboarding and environment consistency.
  • Removed the strict version pinning for rich in pyproject.toml to allow for greater flexibility in dependency management.

@erseco erseco requested a review from Copilot August 5, 2025 09:37
@erseco erseco self-assigned this Aug 5, 2025
@erseco erseco added the enhancement New feature or request label Aug 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds parallel test execution capabilities and improves development environment setup. The changes enable faster test runs by utilizing multiple CPU cores and provide a standardized way to install development dependencies.

  • Added parallel test execution using pytest-xdist for local and staging environments
  • Introduced optional development dependencies group in pyproject.toml for easier developer onboarding
  • Removed strict version pinning for the 'rich' dependency to allow more flexibility

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Added dev optional dependencies group and relaxed rich version constraint
Makefile Updated test commands to run in parallel and updated help text accordingly

erseco and others added 2 commits August 5, 2025 10:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@erseco erseco merged commit a6976da into main Aug 5, 2025
3 of 4 checks passed
@erseco erseco deleted the feature/run-paralelized-tests branch August 5, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants