-
Notifications
You must be signed in to change notification settings - Fork 7
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
Work on adding CI to umd repo #45
Comments
Just FYI, as a stopgap solution for metal, we are running most/all UMD tests on the metal CI. They run for every push to main and every post-commit https://github.com/tenstorrent/tt-metal/actions/workflows/umd-unit-tests-wrapper.yaml |
Every push to tt-metal main, or umd main? |
Every push to tt-metal main will run post-commit which includes umd tests. Example run from most recent main: https://github.com/tenstorrent/tt-metal/actions/runs/10794191678/job/29937907086 But I agree, I think the CI should ultimately be in this repo. |
That seems unnecessary, since not every commit on tt-metal will update the UMD commit used. Sounds like you're running same tests on the same version of umd? |
Yes, I agree it's not the best solution and like you said it only guarantees umd is not broken for the version metal points to. It was mainly implemented to have some sort of verification for UMD (since at that time we aren't able to get CI machines onto the UMD repo). Also on the off chance that metal exposes an edge-case bug in umd. It also allowed us to dispatch umd tests on CI through this pipeline: https://github.com/tenstorrent/tt-metal/actions/workflows/umd-unit-tests-wrapper.yaml The tests themselves run fast enough such that they don't affect the total runtime of post-commit. If development is ramping up on UMD, CI should def be present in this repo, but temporarily it's possible to validate through metal CI if needed. |
### Issue No current issue, related to already closed #45 ### Description As we're using CI for some time, I found that it actually brings unnecessary complications to have a layer of yamls just designating what is done on pr, optionally on pr, and on push. This can be directly added to each of the jobs. Another effect is that in the "Actions" tab, we won't have On PR, Optional On PR, and On Push where each includes several different jobs. We will now have Build device, build and run tests, and pre-commit , which will run both on PR branches and main. ### List of the changes - Created a build-and-run-all-tests.yml which wraps build-tests and run-tests for all archs. This just nicely corresponds exactly to previous on-pr-opt. - Deleted on-pr, on-pr-opt and on-push ymls - Added to all referenced .ymls the config to run on pr and/or on push, so that same jobs are called on same triggers. - Added timeout parameter to a couple of jobs. - I will change in settings which jobs are mandatory, if they are now named slightly different. ### Testing CI passes on this PR ### API Changes There are no API changes in this PR.
Nothing to add for know, it should be pretty clear. Guard the UMD with tests
The text was updated successfully, but these errors were encountered: