-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use github actions to run tests and fix occuring issues #47
Conversation
Locally I got some issues with tests related to |
Cough, and I guess happy new year 🎉 |
Currently, the github workflow:
See https://github.com/K0lb3/pyfmodex/actions/runs/3814088863 As a side note, |
Looking up the midi error,
|
Looking it up further, it looks like the lack of a dls soundback for Linux is the main problem; see Playing MIDI Files on Linux. Which leaves following options to fix the tests on Linux:
|
I extracted the Piano1 of FreeFont2.sf2 and exported it as .dls, Now the Windows and Linux workflows only have following issues remaining:
|
Looks like the workflow instances for both systems are lacking audio out devices. |
Thank you for looking into this. I'll look into it sometimes the following week, e. g. we had a quite huge New year's party. |
Sounds good. The only remaining thing that doesn't work yet is the recording on Linux,
Windows and MacOS work already. |
Looks good. I have no idea whether we can get the DSP clock in some way for the test, yes, the number was chosen based on what was seen on Windows when writing the test. |
I found some header files for the linux base system, I'm not really sure about how to fix the test_input test though. |
Feel free to fix the CI, we'll look at the recording tests then. But otherwise looks good, and I am not worried about bundling the libraries, I think I saw a message on the Fmod forum which explicitly allows this. |
I just noticed that I never made this draft into a real pr. |
I'd just annotate the tests as expected failures and fix it later. |
A bit late, but done. |
So, you consider this ready to merge, right? I do too, so, if yes, we can do it. |
Not yet, looks like the audio-setup for the Windows runners broke. https://github.com/marketplace/actions/sound-ci-helper would work, but breaks some more tests, which is a bit sub-optimal |
only use the Piano from the FreeFont.sf2
workflow - pin windows 2022 and timeout after 10 minutes fix audio-service setup workflow - revert to screm workflow - don't try to start win audio service a 2nd time workflow - fix windows
* PR tyrylu#47 - line ending fix * Update test_dsp_connection.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good for me now.
I fixed the line endings of two tests as well now.
The commit messages are a bit of a mess due to conflict handling, |
Thanks for the work. I'll get to it after my work, so sometimes this evening, I guess. |
@tyrylu Since the pr also included some minor fixes, a minor version bump would be cool. |
The main goal is to implement #21.
The commit fix Linux and mac geometry issues fixes #22 .