Merge pull request #332 from FelixTing/update-sdk #251
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
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@v3 | |
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@v3 | |
with: | |
name: device-rest | |
snap: ${{needs.build.outputs.snap}} | |