Simulate audio device for running tests on GitHub Actions #12
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
Currently we can't run the audio tests on a GitHub runner since it requires a audio device to be present:
Describe the solution you'd like
Either simulate an audio device (or create it virtually) for running the tests like this:
cargo test --features audio-tests
Describe alternatives you've considered
Update the existing tests for running without an audio device - e.g. create mock objects for sinks etc.
Additional context
test
step here: https://github.com/orhun/daktilo/blob/main/.github/workflows/ci.ymlaudio-tests
live in this module: https://github.com/orhun/daktilo/blob/main/src/app.rsThe text was updated successfully, but these errors were encountered: