-
Notifications
You must be signed in to change notification settings - Fork 794
[CI][CTS] Add fixed ref for cts #17074
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,10 @@ inputs: | |
| required: true | ||
| retention-days: | ||
| required: false | ||
| tests_ref: | ||
| description: "Commit SHA or branch to checkout tests" | ||
| required: false | ||
| default: "main" | ||
|
|
||
| runs: | ||
| using: "composite" | ||
|
|
@@ -21,8 +25,7 @@ runs: | |
| with: | ||
| path: khronos_sycl_cts | ||
| repository: 'KhronosGroup/SYCL-CTS' | ||
| ref: 'main' | ||
| default_branch: 'main' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I forgot to mention - deleting this as it's not used at all. |
||
| ref: ${{ inputs.tests_ref }} | ||
| cache_path: "/__w/repo_cache/" | ||
| - name: SYCL CTS GIT submodules init | ||
| if: inputs.cts_testing_mode != 'run-only' | ||
|
|
||
Oops, something went wrong.
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.
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.
Needs more alignment with e2e still. Something has to be done with line 302. I think the
devops/actions/run-tests/*should accept singlerefinput (as in line 302). And the job of the.ymlfile is to translatetests_ref/ref/etc. into such an argument.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.
Hm, right, likely we don't need a new parameter, we can just use ref for this purpose.
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.
Do I get it right? 28c7483
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.
I'd prefer
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.
83da408
Let's rename
reftorepo_refin a follow-up patch as it requires changes for all workflows that use sycl-linux-run-tests.yml.I can't really imagine a good case when we need different branch for the compiler build and e2e tests, and
refisrequired: True, therefore "main" is never used. So I left this string as is. I can change it if you insist.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.
I'm fine with delayed renaming, but e2e branch has to check for
tests_reffirst, even if it isn't set anywhere currently.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.
Updated 599deaf