mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-11-20 09:56:02 -05:00
run locust tests in CI
This commit is contained in:
10
tests/run.sh
Executable file
10
tests/run.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
python3 -m venv testEnv
|
||||
source ./testEnv/activate
|
||||
pip install locust
|
||||
java -jar target/scala-2.13/LibreCaptcha.jar &
|
||||
JAVA_PID=$!
|
||||
sleep 4
|
||||
|
||||
locust -f tests/locustfile.py
|
||||
|
||||
kill $JAVA_PID
|
||||
Reference in New Issue
Block a user