Skip to content

Improved pre-commit and GitHub Actions#313

Open
wb8tyw wants to merge 1 commit intoham-radio-software:masterfrom
wb8tyw:wb8tyw_serial_309
Open

Improved pre-commit and GitHub Actions#313
wb8tyw wants to merge 1 commit intoham-radio-software:masterfrom
wb8tyw:wb8tyw_serial_309

Conversation

@wb8tyw
Copy link
Copy Markdown
Contributor

@wb8tyw wb8tyw commented Mar 29, 2026

This is the start of getting python cross platform unit tests to be run on Ubuntu, Microsoft Windows, and Mac-OS so that we can try to prevent regression on platform that a developer does not have available.

Also adding the unit tests to the changed

Minor fixes not affecting function.

  • .github/workflows/codespell.yml
  • .github/workflows/xmllint.yml
  • .github/workflows/shellcheck.yml

New files adding Unit Tests for GitHub actions and pre-commit checks

  • .github/workflows/python_unit_tests.yml
  • tests/pre-commit_d/python_unit_tests.ps1
  • tests/pre-commit_d/python_unit_tests.sh

Fixes needed to pass the new checking

  • d-rats.py
  • d_rats/dplatform.py
  • d_rats/dplatform_generic.py
  • d_rats/dplatform_win32.py

@wb8tyw wb8tyw force-pushed the wb8tyw_serial_309 branch 14 times, most recently from 0b6010f to 5e2e59a Compare March 30, 2026 00:20
This is the start of getting python cross platform unit tests to be run
on Ubuntu, Microsoft Windows, and Mac-OS so that we can try to prevent
regression on platform that a developer does not have available.

Also adding the unit tests to the changed

Minor fixes not affecting function.
- .github/workflows/codespell.yml
- .github/workflows/xmllint.yml
- .github/workflows/shellcheck.yml

New files adding Unit Tests for GitHub actions and pre-commit checks
- .github/workflows/python_unit_tests.yml
- tests/pre-commit_d/python_unit_tests.sh

Fixes needed to pass the new checking
- d-rats.py
- d_rats/dplatform.py
- d_rats/dplatform_macos.py
- d_rats/dplatform_unix.py
- d_rats/dplatform_generic.py
- d_rats/dplatform_win32.py
- d_rats/utils.py
@wb8tyw
Copy link
Copy Markdown
Contributor Author

wb8tyw commented Mar 30, 2026

No functional changes, Just adding a way test a PR that will follow this that improves the lookup of serial ports and be able to test that it won't break MAC-OS which I can't test locally.

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.

2 participants