Repository navigation
ci: run checks on PRs to feat/** and test vmm UI and vmm-cli - #1559
Merged
Merged
Conversation
PRs targeting feature branches only got the Foundry checks. Also fail the Rust job when cryptsetup is missing so the LUKS tests cannot silently skip. Signed-off-by: Kevin Wang <wy721@qq.com>
cryptography 50.0.0 needs cffi 2.0.0 or later, so requirements.txt could not be installed with cffi pinned to 1.17.1. The file exists on every branch, so install it unconditionally. Signed-off-by: Kevin Wang <wy721@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PRs that target feature branches (e.g.
feat/kms-epochs-combined) currently get only the Foundry checks.feat/**topull_request.branchesof rust, sdk, prek-check, spdx-check and vmm-ui.foundry-test.ymlhas no branch filter, so it already runs on every PR and is left unchanged.cryptsetup --versionbefore the tests. The LUKS tests in dstack-util print "cryptsetup is unavailable; skipping" and pass when it is missing. With this step, a runner without cryptsetup fails the job.npm run test --if-presentafter the build, and add avmm-clijob that runsdstack/vmm/src/tests/test_vmm_cli.pywith unittest. It installsdstack/vmm/requirements.txtwhen that file exists. The UI test script and the requirements file exist only on feature branches for now, so these steps do nothing onnextuntil they land.