Skip to content

Add Tests splusdata#40

Open
Vincas2539 wants to merge 9 commits intomasterfrom
add-actions
Open

Add Tests splusdata#40
Vincas2539 wants to merge 9 commits intomasterfrom
add-actions

Conversation

@Vincas2539
Copy link
Collaborator

@Vincas2539 Vincas2539 commented Mar 15, 2026

This pull request introduces continuous integration (CI) for the master branch, adds test dependencies, and provides a new test suite for the core functionality. The main changes are grouped into CI setup, testing infrastructure, and test coverage improvements.

Continuous Integration Setup:

  • Added a new GitHub Actions workflow (.github/workflows/ci-master.yml) to run CI on pushes and pull requests to the master branch, testing across Python 3.8–3.11, with steps for dependency installation, linting, and running tests.

Testing Infrastructure:

  • Defined a [project.optional-dependencies] section in pyproject.toml to specify test dependencies: pytest, flake8, and coverage.

Test Coverage Improvements:

  • Added a comprehensive test suite in tests/test_core.py to cover image opening/saving, collection handling, file metadata retrieval, and error cases using a fake client for isolation.

Closes #41

Refactors multiple modules for better code formatting, PEP8 compliance, and readability.
Expands parameter lists, restructures long statements, and adds or clarifies line breaks.
Ensures consistent indentation and use of quotes, and standardizes docstrings.
No logic or functionality is changed; focuses exclusively on maintainability and clarity.
@Schwarzam Schwarzam changed the title add github actions pipeline and some tests Add Tests splusdata Mar 15, 2026
@Schwarzam Schwarzam marked this pull request as ready for review March 15, 2026 20:07
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.

Add tests splusdata

1 participant