-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.01 KB
/
live-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
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/warp-on-actions@v1.3
- name: Run tests (IPv6)
env:
PROTO: udp6
HOSTNAME: ${{ env.HOSTNAME }}
run: deno test --allow-net --allow-env test.ts