Skip to content

Conversation

@cadu-leite
Copy link
Owner

This commit introduces tox to the project to automate testing across different Python versions.

Key changes:

  • A tox.ini file has been added to configure test environments for Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, and 3.12.
  • A separate flake8 environment is included for linting.
  • The GitHub Actions workflow in .github/workflows/python-app.yml has been updated to use tox, simplifying the CI pipeline and ensuring consistency with local testing.
  • The new workflow runs tests against all specified Python versions in a matrix.
  • Code coverage reports are now generated as coverage.xml and uploaded to Codecov using the codecov/codecov-action.

This commit introduces `tox` to the project to automate testing across different Python versions.

Key changes:
- A `tox.ini` file has been added to configure test environments for Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, and 3.12.
- A separate `flake8` environment is included for linting.
- The GitHub Actions workflow in `.github/workflows/python-app.yml` has been updated to use `tox`, simplifying the CI pipeline and ensuring consistency with local testing.
- The new workflow runs tests against all specified Python versions in a matrix.
- Code coverage reports are now generated as `coverage.xml` and uploaded to Codecov using the `codecov/codecov-action`.
I've removed Python 3.6 from the test matrix in the GitHub Actions workflow and from the `tox.ini` configuration. I did this because Python 3.6 is no longer available on the GitHub Actions runners, which was causing your CI build to fail.

The test matrix now starts from Python 3.7.
This commit removes Python 3.7 from the test matrix in the GitHub Actions workflow and from the `tox.ini` configuration. Python 3.7 is no longer available on the GitHub Actions runners, which was causing the CI build to fail.

The test matrix now starts from Python 3.8.
@cadu-leite cadu-leite merged commit d6c9a66 into master Aug 7, 2025
8 checks passed
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