deskflow/scripts/lib
Nick Bolton 47849db4d9
Run Valgrind on unit tests in CI to detect memory leaks (#7401)
* Move QApplication out of main to reduce memory impact when running individual tests

* Add --valgrind arg and colorize output when command returns non-zero exit code

* Fixed: colorama not always available

* Test multiple Qt tests

* Fixed: Windows Qt test failing due to missing QCoreApplication

* Simplify fake args for Qt

* Use --ci-env arg

* Create Valgrind analysis workflow

* Rename vars for fake args

* Parse and output valgrind summary

* Add build mode to comment

* Use GITHUB_OUTPUT to output summary

* Merge valgrind comment

* Improve comment

* Use `tee` instead of `--log-file` to also print stdout

* Improve comment about debug and release

* Simplify output writing in parse step

* Improve step name

* Correct comment about summaries

* Remove commented out code

* Better var name

* Missing copyright

* Rename global to shared

* Remove space

* Revert change to ConfigTests.cpp
2024-07-17 09:22:46 +01:00
..
certificate.py Re-implement packaging for GitHub workflows (Windows) (#7360) 2024-06-28 09:35:18 +00:00
cmd_utils.py Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
config.py Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
env.py Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
fs.py Format all source with Clang and introduce lint workflow (#7364) 2024-07-02 20:07:06 +01:00
github.py Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
linux.py Re-implement packaging for GitHub workflows (Linux ARM) (#7369) 2024-07-08 09:32:55 +00:00
mac.py Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
qt_utils.py Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00
windows.py Correct Qt macOS target and drop Core5Compat lib (#7389) 2024-07-15 12:57:39 +01:00