-
Notifications
You must be signed in to change notification settings - Fork 11
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
Tests CI workflows #6
Conversation
Also, the tests pass for 4 MIDIs out of 26, I'll try to investigate why |
Absolutely, apologies for this unexpected situation 😅 |
@Yikai-Liao @lzqlzzq I updated the Hopefully the tests should run very quick, they only take ~10min for miditoolkit, here the install should be a bit longer but the rest should be fast. |
It might also be a good idea to rename the symusic directory, as it prevents to import the installed symusic module when running tests locally (from the root project directory). What do you think? |
Well, Linux containers using qemu was about Therefore, the test can be done without worrying too much about exceeding the total time limit of github actions. starting next month. And by the way, my high-performance arm development board (8 cores, 16g RAM and 256g eMMC) has arrived 🎉! And I'll test symusic on it frequently. |
I agree with it. The problem is that I'm not familiar with how |
That's great news! So indeed I think we can safely reduce the range of platforms / python versions of tests. I can take a look for the setup.py behaviour, and if it's not complicated include the changes in this PR. |
For reference on the FIFO issue when writing a MIDI: YatingMusic/miditoolkit#28 |
For |
|
I suggest to maybe merge this branch as it comes with a lot of file changes, with minimal test platforms activated, before solving the above issues? |
I fail to merge.
|
I'm not sure what's the cause of this issue, if it's not solves yet I'll look into it after making sure the pytest action is run properly (8 tests should fail, right now I don't know why it cannot find the pytest command). |
It works on browser, but not on my phone |
Ok, there will still be one or two things to fix for the action to run properly. |
Might I make a suggestion? Feel free to use FlyCI's M1 and M2 runners. Our runners are on average 2x faster and 2x cheaper than GitHub's AND we have a free tier for OSS projects (see below). Install InstructrionsEasily replace your M1 runners: jobs:
ci:
- runs-on: macos-latest
+ runs-on: flyci-macos-large-latest-m1
steps:
- name: 👀 Checkout repo
uses: actions/checkout@v4 Or try the M2 runners: jobs:
ci:
- runs-on: macos-latest
+ runs-on: flyci-macos-large-latest-m2
steps:
- name: 👀 Checkout repo
uses: actions/checkout@v4 Pricing
500 mins/month Free for Public ReposIf your repo is public, then FlyCI offers 500 mins/month of free M1 runner usage with the Best Regards, |
@kgantchev Doesn't the flyci-macos-large-latest-m1 timing need to be multiplied by a factor like github? |
@Yikai-Liao nope... it's just 500 mins/month |
Thanks, I'll try it. |
Following #4 , this PR set up GitHub actions to run the tests on pushes and pull requests.
Not ready for merge yet. Right now the action only perform builds as done in the "publish" action