cpython/Tools/wasm/emscripten/browser_test/run_test.sh
Miss Islington (bot) 64eb54062d
[3.14] gh-124621: Emscripten: Add smoke test for using pyrepl in Chrome (GH-137004) (#137067)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Zachary Ware <zach@python.org>
2025-07-29 23:09:47 +03:00

10 lines
330 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")"
rm -f test_log.txt
echo "Installing node packages" | tee test_log.txt
npm ci >> test_log.txt 2>&1
echo "Installing playwright browsers" | tee test_log.txt
npx playwright install 2>> test_log.txt
echo "Running tests" | tee test_log.txt
CI=1 npx playwright test | tee test_log.txt