Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Use the race detector when running automated tests.

Gabe Kangas64bbb99780a5
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index c0b70767c1..c2ec9f4013 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -38,5 +38,5 @@ jobs:
go-version: "^1"
- name: Run tests
- run: go test ./...
+ run: go test -race ./...
diff --git a/test/automated/api/run.sh b/test/automated/api/run.sh
index b2a3a1cda8..fde1896042 100755
--- a/test/automated/api/run.sh
+++ b/test/automated/api/run.sh
@@ -18,7 +18,7 @@ fi
pushd ../../.. > /dev/null
# Build and run owncast from source
-go build -o owncast main.go
+go build -race -o owncast main.go
./owncast -database $TEMP_DB &
SERVER_PID=$!