Skip to content

configure ci checks - #4

Merged
samperay merged 11 commits into
mainfrom
ci/configure-pytest
Oct 11, 2026
Merged

samperay merged 11 commits into
mainfrom
ci/configure-pytest

Conversation

@samperay

Copy link
Copy Markdown
Owner

No description provided.

- Added `ruff` for linting with specified configurations in `pyproject.toml`.
- Updated `uvicorn` dependency version.
- Refactored imports and code formatting across multiple files for consistency.
- Changed timezone handling to use `UTC` instead of `timezone.utc` for better clarity.
- Cleaned up unnecessary line breaks and improved readability in various modules.
- Introduced a new CI workflow for the backend using Ruff for linting and formatting.
- Consolidated testing steps into a single workflow, removing the previous tests.yml file.
- Ensured Python 3.12 is used and dependencies are installed correctly for linting, formatting, and testing jobs.
- Created a new test file `test_ruff.py` to facilitate testing with Ruff.
- Included a placeholder function to establish the test structure.
- Cleaned up the `test_ruff.py` file by removing unnecessary imports to enhance readability and maintainability.
- Cleaned up the `test_ruff.py` file by removing extra blank lines to improve code readability.
- Deleted the `test_ruff.py` file as it contained no relevant tests or functionality, streamlining the test suite.
- Refactored the CI workflow to include a dedicated quality job for linting and static type checking.
- Renamed linting and formatting steps for clarity.
- Added `mypy` as a development dependency in `pyproject.toml` for type checking.
- Consolidated and streamlined the CI configuration for better maintainability.
…sting jobs

- Introduced separate jobs for linting with Ruff, formatting checks, and running tests using Pytest.
- Updated Python version to 3.12 and added caching for dependencies to improve build efficiency.
- Streamlined the workflow configuration for better clarity and maintainability.
- Included `pytest-cov` in `pyproject.toml` to enable coverage reporting for tests.
- Updated the development dependencies list for improved testing capabilities.
- Modified the test step in the CI workflow to run tests with coverage using `pytest-cov`.
- Configured coverage reporting to include detailed output and enforce a minimum coverage threshold of 90%.
- Removed unnecessary line from the CI workflow that previously contained a blank run command for testing.
- Streamlined the configuration for improved clarity and maintainability.
@samperay samperay changed the title Ci/configure pytest configure ci checks Oct 11, 2026
@samperay
samperay merged commit 3625867 into main Oct 11, 2026
4 checks passed
@samperay
samperay deleted the ci/configure-pytest branch October 11, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant