Live test #230
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: Live test | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
paths: | |
- ".github/workflows/live-test.yaml" | |
jobs: | |
test-ipv4: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.1 | |
- name: Run test client (old ports) | |
working-directory: client | |
run: go run client.go -address coap.nordicsemi.academy -udpPort 5688 -dTLSPort 5689 | |
- name: Run test client (new ports) | |
working-directory: client | |
run: go run client.go -address coap.nordicsemi.academy -udpPort 5683 -dTLSPort 5684 | |
test-ipv6: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.1 | |
- name: Set up WARP | |
uses: fscarmen/[email protected] | |
- name: Run test client (old ports) | |
working-directory: client | |
run: go run client.go -address coap.nordicsemi.academy -udp6 -udpPort 5688 -dTLSPort 5689 | |
- name: Run test client (new ports) | |
# Skip until deployed | |
if: false | |
working-directory: client | |
run: go run client.go -address coap.nordicsemi.academy -udpPort 5683 -dTLSPort 5684 |