mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
ci: Force pip install for functional tests
See 550f9192ae4e5c4dd486ba08738ecee322929fce. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Rely fully on running the install.sh script remove the pip3 rerun] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4cfc2fb4f2
commit
48ff4dd441
@ -34,7 +34,6 @@
|
|||||||
- adduser tester --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password && echo "tester:password" | chpasswd
|
- adduser tester --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password && echo "tester:password" | chpasswd
|
||||||
script:
|
script:
|
||||||
- cp -r . /home/tester/freedombox && chown -R tester:tester /home/tester/freedombox
|
- cp -r . /home/tester/freedombox && chown -R tester:tester /home/tester/freedombox
|
||||||
- sudo -u tester bash -c 'pip3 install --user selenium==4.2.0 splinter==0.17.0 pytest-splinter pytest-reporter-html1'
|
|
||||||
- |
|
- |
|
||||||
sudo FREEDOMBOX_URL="https://$APP_SERVER_IP" -u tester bash -c \
|
sudo FREEDOMBOX_URL="https://$APP_SERVER_IP" -u tester bash -c \
|
||||||
'cd /home/tester/freedombox && py.test-3 -v --durations=10 --include-functional --splinter-headless --template=html1/index.html --report=functional-tests.html'
|
'cd /home/tester/freedombox && py.test-3 -v --durations=10 --include-functional --splinter-headless --template=html1/index.html --report=functional-tests.html'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user