-
Notifications
You must be signed in to change notification settings - Fork 4
chore: migrate to GHA #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 migrates CI from Travis to GitHub Actions and expands supported Python versions.
- Removes
.travis.ymland adds a new GitHub Actions workflow - Updates
pyproject.tomlclassifiers to test Python 3.8–3.13 - Cleans up minor formatting in client modules and test files
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| trustpilot/client.py | Re-formatted tuple line breaks for status code check |
| trustpilot/async_client.py | Removed extra blank lines |
| tests/test_cli.py | Removed unnecessary u prefixes from triple-quoted strings |
| pyproject.toml | Expanded Python classifiers to 3.8–3.13 |
| .travis.yml | Removed obsolete Travis CI config |
| .github/workflows/pushes.yaml | Added GitHub Actions build-and-test workflow |
|
|
||
| @mock.patch("trustpilot.cli.client", autospec=True) | ||
| @mock.patch("trustpilot.cli.auth") | ||
| def test_no_verbosity_with_get(self, auth_mock, client_mock): |
Copilot
AI
Jul 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test test_no_verbosity_with_get is defined twice in this file, which causes the first definition to be overridden. Please remove or rename the duplicate to avoid unexpected test behavior.
| def test_no_verbosity_with_get(self, auth_mock, client_mock): | |
| def test_no_verbosity_with_get_first(self, auth_mock, client_mock): |
sneeu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
Ticket 🎟
SP-148
What⁉️
Migrates from Travis to GHA and expands the number of python versions tested against