TOOLS-125 enable nightly pytest execution (#50)

* adjust nightly execution to pytest changes

Signed-off-by: Max Brenner <xamrennerb@gmail.com>
This commit is contained in:
Max
2021-05-26 15:09:32 +02:00
committed by GitHub
parent 488f104895
commit 0053d30767
4 changed files with 163 additions and 88 deletions

View File

@@ -1,13 +1,11 @@
FROM python:3.8
WORKDIR /wlan-testing
RUN apt update && rm -rf /var/lib/apt/lists/*
RUN pip3 install pytest==6.2.2 bs4 paramiko xlsxwriter requests pandas influxdb scp allure-pytest
RUN mkdir ~/.pip
RUN echo "[global]" > ~/.pip/pip.conf
RUN echo "index-url = https://pypi.org/simple" >> ~/.pip/pip.conf
RUN echo "extra-index-url = https://tip-read:tip-read@tip.jfrog.io/artifactory/api/pypi/tip-wlan-python-pypi-local/simple" >> ~/.pip/pip.conf
RUN echo "tip-wlan-cloud" > ~/.pip/requirements.txt
RUN pip3 install -r ~/.pip/requirements.txt
RUN pip3 install pytest==6.2.2 bs4 paramiko xlsxwriter requests pandas influxdb influxdb-client scp allure-pytest tip-wlan-cloud selenium perfecto-py37 Appium-Python-Client
COPY lanforge /wlan-testing/lanforge
COPY tests /wlan-testing/tests
COPY libs /wlan-testing/libs
WORKDIR /wlan-testing
ENTRYPOINT ["bash"]