Live test #317
This file contains hidden or 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 | |
| env: | |
| HOSTNAME: udp-echo.nordicsemi.academy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: v1.x | |
| - name: Run tests (IPv4) | |
| env: | |
| PROTO: udp4 | |
| HOSTNAME: ${{ env.HOSTNAME }} | |
| run: deno test --allow-net --allow-env test.ts | |
| test-ipv6: | |
| # openresolv is not available on ubuntu-24.04 | |
| runs-on: ubuntu-22.04 | |
| # Disabled: https://github.com/NordicPlayground/nordic-developer-academy-udp-echo/issues/1 | |
| if: false | |
| env: | |
| HOSTNAME: udp-echo.nordicsemi.academy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: v1.x | |
| - name: Set up WARP | |
| uses: fscarmen/[email protected] | |
| - name: Run tests (IPv6) | |
| env: | |
| PROTO: udp6 | |
| HOSTNAME: ${{ env.HOSTNAME }} | |
| run: deno test --allow-net --allow-env test.ts |