Create coverage.xml, upload it to GitHub CI and visualize with codecov.
Setup instruction:
- Install codecov for project
https://github.com/settings/installations/55029514
- Add CODECOV_TOKEN in the GitHub CI project secrets
Related #1097
* Fix CI for macOS
* Fix error message for missing hidapi
* Skip some device and receiver tests on macOS
Tests fail on macOS, enable them when unit tests are
refined to only test the module without dependencies.
* Safe guard dbus import
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes#2303
* Improve name of GitHub test actions
Related #2303
* Upgrade GitHub actions to Node.js 20
Replaces deprecated Node.js 16 actions.
Related #2256, #2284
* Show pytest coverage in GitHub CI tests
Related #1097
* Extend Makefile with installation and test targets
Refactor setup steps to unify commands between Linux and macOS.
Move bash commands into Makefile for consistency and enable local
execution of GitHub CI commands corresponding Makefile targets.
Install on Ubuntu:
make install_ubuntu
Install on Ubuntu for development:
make install_ubuntu PIP_ARGS=."[test]"
Fixes#2303
* Improve name of GitHub test actions
Related #2303