Add snphost CI PR test#91
Open
LakshmiSaiHarika wants to merge 2 commits intovirtee:mainfrom
Open
Conversation
Contributor
|
Looks like you have a linting error @LakshmiSaiHarika |
198fe39 to
9dd8737
Compare
Author
|
Hi Reviewers, I edited this PR to add manual PR event and did some code cleanup. Please review this and let me know if any additional changes are required. |
| runs-on: self-hosted | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v2 |
Contributor
There was a problem hiding this comment.
uses: actions/checkout@v3
|
|
||
| - name: Run snphost cargo test on the host | ||
| run: | | ||
| # Check and install dependencies on the host |
Contributor
There was a problem hiding this comment.
set -e # exit immediately on error and fail fast
|
|
||
| # Cleanup steps on the host | ||
| rm -rf ~/snphost | ||
| cd ~/ |
Contributor
There was a problem hiding this comment.
mkdir -p ~/snphost
cd ~
|
|
||
| if [ ${{ github.event_name }} == "pull_request_target" ]; then | ||
| event_pr_number=${{ github.event.pull_request.number }} | ||
| event_pr_branch=${{ github.head_ref }} |
Contributor
There was a problem hiding this comment.
github.head_ref -> github.event.pull_request.head.ref
e62617b to
25632fc
Compare
Contains all the required function definitions for its use in snphost CI PR workflow. Signed-off-by: Harika Nittala <lnittala@amd.com>
8683bfe to
a7e1b29
Compare
Added snphost CI PR test workflow to perform snphost cargo tests on the self-hosted runner for a new PR, updated PR or after SNP kernel update on the self-hosted runner Signed-off-by: Harika Nittala <lnittala@amd.com>
488f122 to
4bf770b
Compare
Author
|
I addressed the above comments.... Please let me know if any changes are required |
AdithyaKrishnan
approved these changes
Nov 22, 2024
Contributor
AdithyaKrishnan
left a comment
There was a problem hiding this comment.
LGTM. Thanks @LakshmiSaiHarika
Member
|
Is this still being worked on? |
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.
Performs snphost cargo tests on the self-hosted runner