Skip to content
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

Add support for eden_version input in test workflow #954

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
---
name: Test

on:
on: # yamllint disable-line rule:truthy
workflow_dispatch:
inputs:
eden_version:
type: string
required: false
default: '' # if not provided: When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch.
eve_image:
type: string
eve_artifact_name:
Expand Down Expand Up @@ -49,6 +53,7 @@ jobs:
uses: actions/checkout@v3.5.3
with:
repository: "lf-edge/eden"
ref: ${{ inputs.eden_version }}
path: "./eden"
- name: Run Smoke tests
uses: ./eden/.github/actions/run-eden-test
Expand All @@ -69,6 +74,7 @@ jobs:
uses: actions/checkout@v3.5.3
with:
repository: "lf-edge/eden"
ref: ${{ inputs.eden_version }}
path: "./eden"
- name: Run Networking tests
uses: ./eden/.github/actions/run-eden-test
Expand All @@ -93,6 +99,7 @@ jobs:
uses: actions/checkout@v3.5.3
with:
repository: "lf-edge/eden"
ref: ${{ inputs.eden_version }}
path: "./eden"
- name: Run Storage tests
uses: ./eden/.github/actions/run-eden-test
Expand All @@ -113,6 +120,7 @@ jobs:
uses: actions/checkout@v3.5.3
with:
repository: "lf-edge/eden"
ref: ${{ inputs.eden_version }}
path: "./eden"
- name: Run LPC LOC tests
uses: ./eden/.github/actions/run-eden-test
Expand All @@ -137,6 +145,7 @@ jobs:
uses: actions/checkout@v3.5.3
with:
repository: "lf-edge/eden"
ref: ${{ inputs.eden_version }}
path: "./eden"
- name: Run EVE upgrade tests
uses: ./eden/.github/actions/run-eden-test
Expand All @@ -157,6 +166,7 @@ jobs:
uses: actions/checkout@v3.5.3
with:
repository: "lf-edge/eden"
ref: ${{ inputs.eden_version }}
path: "./eden"
- name: Run User apps upgrade tests
uses: ./eden/.github/actions/run-eden-test
Expand Down