Commit ac31cea7 authored by Romain Casati's avatar Romain Casati

Dedicateed Docker image for tests (casatir/basthon-kernel-test).

parent c71a1b47
Pipeline #385304 passed with stage
in 4 minutes and 11 seconds
\ No newline at end of file
image: debian:buster
image: casatir/basthon-kernel-test:latest
- test
......@@ -6,9 +6,6 @@ stages:
stage: test
- apt-get update && apt-get install -y make git llvm nodejs python3-pip chromium-driver firefox-esr wget tar
- wget -qO- | tar zxC /usr/local/bin/
- pip3 install pytest selenium
- make test
when: always
FROM python:3.8.2-slim-buster
RUN echo "deb buster-backports main" >> /etc/apt/sources.list \
&& apt-get update && apt-get install -y --no-install-recommends \
make git patch llvm nodejs chromium-driver firefox-esr wget tar xz-utils bzip2 uglifyjs.terser \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 --no-cache-dir install \
pytest pytest-xdist pytest-instafail pytest-rerunfailures \
pytest-httpserver pytest-cov selenium
# Get geckodriver
RUN wget -qO- | tar zxC /usr/local/bin/
CMD ["/bin/sh"]
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