mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 10:02:26 +00:00
dockerfile for pytest
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -144,6 +144,7 @@ docker/nightly*log
|
||||
|
||||
# nightlies with pytest
|
||||
pytest/*
|
||||
!pytest/Dockerfile
|
||||
!pytest/conftest.py
|
||||
!pytest/test_*.py
|
||||
!pytest/helpers
|
||||
|
||||
16
pytest/Dockerfile
Normal file
16
pytest/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.8
|
||||
WORKDIR /ci
|
||||
|
||||
RUN apt update && apt install vim -y && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip3 install requests xlsxwriter pandas pytest
|
||||
|
||||
COPY wlan-lanforge-scripts/py-json/LANforge /ci/LANforge
|
||||
COPY wlan-lanforge-scripts/py-json/realm.py /ci
|
||||
COPY wlan-lanforge-scripts/py-json/generic_cx.py /ci
|
||||
COPY wlan-lanforge-scripts/py-scripts/sta_connect2.py /ci
|
||||
COPY wlan-testing/pytest/conftest.py /ci
|
||||
COPY wlan-testing/pytest/test* /ci
|
||||
COPY wlan-testing/pytest/pytest.ini /ci
|
||||
COPY wlan-testing/pytest/helpers /ci/helpers
|
||||
|
||||
ENTRYPOINT [ "pytest" ]
|
||||
Reference in New Issue
Block a user