-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mengyi Wang <mengyi.wang@canonical.com>
- Loading branch information
1 parent
e0db465
commit 19c372e
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Snap Testing | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
# allow manual trigger | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build and upload snap | ||
id: build | ||
uses: canonical/edgex-snap-testing/build@v2 | ||
outputs: | ||
snap: ${{steps.build.outputs.snap}} | ||
|
||
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download and test snap | ||
uses: canonical/edgex-snap-testing/test@v2 | ||
with: | ||
name: device-rfid-llrp | ||
snap: ${{needs.build.outputs.snap}} | ||
|