Fakultas Ilmu Komputer UI

Commit 8fa937b6 authored by Rani Lasma Uli's avatar Rani Lasma Uli
Browse files

update functional test pipeline script

parent deeaeb5e
Pipeline #28430 passed with stages
in 21 minutes and 58 seconds
......@@ -34,12 +34,16 @@ FunctionalTest:
image: joyzoursky/python-chromedriver
stage: test
- pip install -r requirements.txt
- python3 manage.py migrate
- python3 manage.py compilescss
- python3 manage.py collectstatic --no-input
- wget https://chromedriver.storage.googleapis.com/77.0.3865.40/chromedriver_linux64.zip
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
- pip3 install -r requirements.txt
- apt-get update -qq && apt-get install -y -qq unzip
- apt-get install -y google-chrome-stable
- apt-get install -y xvfb
- wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- mkdir static
- python3 manage.py collectstatic --no-input
when: on_success
allow_failure: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment