Merge pull request #8 from matt-mazzucato/update-action-to-support-as… #47
Workflow file for this run
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: Test | |
on: | |
pull_request: | |
push: | |
jobs: | |
deploy-astarte-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Create Astarte cluster | |
uses: ./ | |
- name: Test cluster functionality (register a device) | |
run: | | |
astartectl config current-context | |
astartectl config contexts show $(astartectl config current-context) | |
export DEVICE_ID=$(astartectl utils device-id generate-random) | |
astartectl pairing agent register -- $DEVICE_ID |