-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Added custom system tests repo and branch input option #102
Conversation
src/runaqa.ts
Outdated
@@ -57,6 +58,9 @@ export async function runaqaTest( | |||
await exec.exec( | |||
`${sevenzexe} e ${dependents} -o${process.env.GITHUB_WORKSPACE}/aqa-tests/TKG/lib` | |||
) | |||
if(buildList.includes('system') || buildList.includes('openjdk')) { |
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.
openjdk tests is a different category from system. So we can just move this function call getAqaSystemTestsRepo to the following block https://github.com/adoptium/run-aqa/pull/102/files#diff-22673e27ee79038a5688a185a2cd7775b8d2a63bfb6c4b449d1d5195cc272faaR65
if (buildList.includes('system')) {
src/runaqa.ts
Outdated
if (aqasystemtestsRepo.length !== 0) { | ||
repoBranch = parseRepoBranch(aqasystemtestsRepo) | ||
} | ||
await exec.exec( |
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.
For Aqasystemtest the only thing we need is to export the repo and branch.
process.env.ADOPTOPENJDK_SYSTEMTEST_REPO = repoBranch[0]
process.env.ADOPTOPENJDK_SYSTEMTEST_BRANCH = repoBranch[1]
Waiting for checks to complete... |
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.
LGTM
fixes #93