Skip to content

Add more tests for WordSourcer#44

Merged
torrua merged 11 commits into
mainfrom
actions
Oct 1, 2025
Merged

Add more tests for WordSourcer#44
torrua merged 11 commits into
mainfrom
actions

Conversation

@torrua

@torrua torrua commented Oct 1, 2025

Copy link
Copy Markdown
Owner

No description provided.

Add class OriginParser
- Add new test class TestWordSourcerPrepareOrigin with multiple unit tests
- Cover various cases including parentheses, slashes, and edge cases
- Ensure proper handling of empty strings, no parentheses, no slashes,  multiple slashes, boundary slashes, complex cases, and adjacent operations
- Fix minor formatting issues in existing assertions (quote style and spacing)
- Add missing blank line in test file for better readability
Update the Python version in the pytest workflow configuration
to use version 3.11 instead of3.10 for running tests.
- Update python-version matrix to ["3.13"] in pylint.yml
- Update python-version matrix to ["3.13"] in pylint_scores.yml- Update python-version matrix to ["3.13"] in pytest.yml- Set python-version to "3.13" in python-publish.yml
- Updated `actions/checkout` from v4 to v5 in all workflow files
- Updated `actions/setup-python` from v5 to v6 in pylint, pytest, and python-publish workflows
- Ensures compatibility with latest GitHub Actions features and security updates
ci(github): rename workflow to "Tests and Analysis" and add test coverage job

- Rename the GitHub Actions workflow from "CodeQL" to "Tests and Analysis"- Add a new job `test-coverage` that runs tests with coverage using pytest
- Upload coverage reports to CodeClimate
- Update CodeQL analysis job with minor formatting and comment improvements
- Use Python 3.13 for testing and analysis
```
ci(codeql): update workflow configuration and improve test coverage reporting
- Rename workflow from "Tests and Analysis" to "CodeQL"
- Add scheduled trigger using cron expression
- Update Python setup action version and use generic 3.x version
- Improve dependency installation steps
- Adjust pytest command to specify coverage source
- Refactor steps with clearer comments and structure
- Maintain CodeClimate test reporter integration
```
ci(codeql): update CodeQL workflow to use latest actions

- Upgrade actions/checkout to v5
- Upgrade github/codeql-action to v4
- Remove Python setup and dependency installation steps
- Remove Code Climate test reporter integration
- Update comments for autobuild step
- Ensure scheduled cron job remains unchanged
```
docs(readme): remove Code Climate maintainability badge

The Code Climate maintainability badge has been removed from the README.md
file. This change reflects the current status of the project's code quality monitoring tools and ensures that only actively used badges are displayed.```
ci(workflows): add codeql analysis workflow

- Add new CodeQL workflow to analyze code for security vulnerabilities- Configure scheduled scans and PR checks on main branch
- Set up Python dependency installation and code quality reporting
- Update pytest workflow with improved coverage handling
- Integrate multiple coverage upload methods including Codecov, Ocular, and CodeClimate
- Ensure proper error handling and conditional execution of reporting steps
```
ci(pytest): remove codeclimate test reporter integration

Remove CodeClimate test reporter installation and upload stepsfrom pytest workflow. Keep only the ocular coverage upload stepand ensure it continues on error.

The CodeClimate integration has been removed from the testing
pipeline to simplify the workflow and reduce external dependencies.
```
@torrua torrua merged commit 5e3a0e6 into main Oct 1, 2025
5 of 6 checks passed
@torrua torrua deleted the actions branch October 1, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant