Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
- uses: actions/checkout@v6
with:
persist-credentials: false
ref: ${{ inputs.git_ref }}

- name: Download kas lockfile
uses: actions/download-artifact@v7
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/test-distro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
required: false
type: string
description: "Suffix for the distro name"
git_ref:
required: true
type: string
description: "Ref in the repo which should be used for the tests"
lava_test_plans_ref:
type: string
description: "Ref in lava-test-plans repository: commit, tag or branch"
Expand All @@ -43,7 +47,7 @@ on:

jobs:
prepare-boot-jobs:
name: "Prepare boot jobs for ${{ inputs.distro }}"
name: "Prepare boot jobs for ${{ inputs.distro_name }}"
runs-on: ubuntu-latest
outputs:
jobmatrix: ${{ steps.lava-test-plans.outputs.jobmatrix }}
Expand All @@ -53,6 +57,8 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ inputs.git_ref }}

- name: Run lava-test-plans
id: lava-test-plans
Expand Down Expand Up @@ -152,7 +158,7 @@ jobs:
echo "boot_result=$BOOT_RESULT" >> "$GITHUB_OUTPUT"

prepare-premerge-jobs:
name: "Prepare pre-merge jobs for ${{ inputs.distro }}"
name: "Prepare pre-merge jobs for ${{ inputs.distro_name }}"
runs-on: ubuntu-latest
needs: boot-job-result
# run only if boot jobs are successful
Expand All @@ -167,6 +173,8 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ inputs.git_ref }}

- name: Determine device list
id: determine-device-list
Expand Down Expand Up @@ -250,6 +258,8 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ inputs.git_ref }}

- name: Generate Summary
id: generate-summary
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
secrets: inherit
with:
build_id: ${{ github.event.workflow_run.id }}
git_ref: ${{ github.event.workflow_run.head_sha }}

comment-on-pr:
name: "Comment on PR"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
build_id:
required: true
type: string
git_ref:
required: false
default: ''
type: string
description: "Ref in the repo which should be used for the tests"
outputs:
summary_ids:
description: "IDs of the test summary artifact"
Expand Down
Loading