deskflow/.github/workflows
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
..
build-containers.yml Use GitHub ARM64 runner for Linux (#7390) 2024-07-14 23:20:32 +01:00
ci.yml Solve SonarCloud security hotspots and bugs (#7383) 2024-07-16 08:30:35 +00:00
codeql-analysis.yml Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
create-release.yml Make release workflow conditional 2024-07-16 19:38:33 +01:00
lint-changelog.yml Improve workflow triggers to ensure correct run time (#7378) 2024-07-09 18:50:54 +01:00
lint-source-code.yml Run install_deps.py script when building containers weekly (#7384) 2024-07-11 15:26:38 +01:00
sonarcloud-analysis.yml Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00
stale-issues.yml Schedule CI daily at 5am to detect code rot early (#7363) 2024-07-02 16:36:54 +01:00
test-dist-upload.yml Re-implement CI auto version increment for packaging (#7354) 2024-06-26 15:46:42 +00:00
valgrind-analysis.yml Run Valgrind on unit tests in CI to detect memory leaks (#7401) 2024-07-17 09:22:46 +01:00