Skip to content

fix: disable UPX, add VirusTotal CI scan, tests & AV docs#12

Merged
MootSeeker merged 2 commits into
mainfrom
fix/11-av-false-positive
Mar 19, 2026
Merged

fix: disable UPX, add VirusTotal CI scan, tests & AV docs#12
MootSeeker merged 2 commits into
mainfrom
fix/11-av-false-positive

Conversation

@MootSeeker

Copy link
Copy Markdown
Owner

Resolves #11

  • Set upx=False in stm32_easy_flash.spec to eliminate the primary cause of antivirus false-positive detections
  • Add VirusTotal scan job to CI pipeline for early detection regression
  • Add conditional code-signing steps for Windows (signtool) and macOS (codesign + notarytool) — activated when secrets are configured
  • Add pytest test job to CI pipeline
  • Add unit tests for spec config, flash service, hotkey service and config service (22 tests)
  • Add requirements/test.txt for test dependencies
  • Document AV false-positive workarounds in README

Resolves #11

- Set upx=False in stm32_easy_flash.spec to eliminate the primary cause
  of antivirus false-positive detections
- Add VirusTotal scan job to CI pipeline for early detection regression
- Add conditional code-signing steps for Windows (signtool) and macOS
  (codesign + notarytool) — activated when secrets are configured
- Add pytest test job to CI pipeline
- Add unit tests for spec config, flash service, hotkey service and
  config service (22 tests)
- Add requirements/test.txt for test dependencies
- Document AV false-positive workarounds in README
@MootSeeker MootSeeker self-assigned this Mar 19, 2026
- Catch Exception (not just ImportError) in hotkey_service.py since
  pynput raises ValueError on headless Linux without DISPLAY
- Make test_is_available CI-agnostic (check type, not value)
- Remove PySide6 from test requirements (tests don't need it)
@MootSeeker MootSeeker merged commit 4d1c5db into main Mar 19, 2026
12 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.

[Bug] Built executable is flagged as a virus / malware by Windows Defender or macOS Gatekeeper

1 participant