Skip to content

Commit 7eed750

Browse files
committed
Add Coturn Interop. Tests
1 parent f45251c commit 7eed750

File tree

5 files changed

+986
-0
lines changed

5 files changed

+986
-0
lines changed

.github/workflows/e2e.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
3+
4+
name: E2E
5+
on:
6+
pull_request:
7+
branches:
8+
- master
9+
push:
10+
branches:
11+
- master
12+
13+
jobs:
14+
e2e-test:
15+
name: Test
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 10
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@v6
21+
- name: test
22+
run: |
23+
docker build -t pion-turn-e2e -f e2e/Dockerfile .
24+
docker run -i --rm pion-turn-e2e

e2e/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
2+
# SPDX-License-Identifier: MIT
3+
4+
FROM docker.io/library/golang:1.26-trixie
5+
6+
RUN apt-get update && apt-get install -y coturn
7+
8+
COPY . /go/src/github.com/pion/turn
9+
WORKDIR /go/src/github.com/pion/turn/e2e
10+
11+
CMD ["go", "test", "-tags=coturn", "-v", "."]

e2e/e2e.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
2+
// SPDX-License-Identifier: MIT
3+
4+
// Package e2e contains end to end tests for pion/turn
5+
package e2e

0 commit comments

Comments
 (0)