Skip to content

Conversation

@1technophile
Copy link
Member

Description:

This commit modifies the python job in the .github/workflows/PR_build.yml workflow to enhance Python package testing.

The changes include:

  • Modifying the build step to create a Python wheel (bdist_wheel) instead of a source distribution (sdist).
  • Adding a step to install the wheel using pip3.
  • Adding a step to perform an import test (from TheengsDecoder import decodeBLE) to verify the package is correctly installed and the core module is accessible.
  • Renaming some steps for clarity.

This will help catch packaging and import issues earlier in the PR process.

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

This commit modifies the `python` job in the `.github/workflows/PR_build.yml` workflow to enhance Python package testing.

The changes include:
- Modifying the build step to create a Python wheel (`bdist_wheel`) instead of a source distribution (`sdist`).
- Adding a step to install the wheel using `pip3`.
- Adding a step to perform an import test (`from TheengsDecoder import decodeBLE`) to verify the package is correctly installed and the core module is accessible.
- Renaming some steps for clarity.

This will help catch packaging and import issues earlier in the PR process.
@DigiH
Copy link
Contributor

DigiH commented May 24, 2025

Thanks

@DigiH DigiH merged commit 3f34bd6 into development May 24, 2025
14 checks passed
@DigiH DigiH deleted the feature/test-wheel-import-in-pr-build branch May 28, 2025 13:31
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.

3 participants