laravel-webrtc/test.sh

11 lines
380 B
Bash

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p php83 php83Extensions.sockets php83Extensions.mbstring php83Extensions.xml php83Extensions.xmlwriter php83Extensions.tokenizer
# Test script for NixOS — runs PHPUnit for the WebRTC signaling + engine layer.
echo "Running Laravel WebRTC tests..."
echo "PHP version: $(php --version | head -n 1)"
echo ""
vendor/bin/phpunit "$@"