aboutsummaryrefslogtreecommitdiff
path: root/podman
diff options
context:
space:
mode:
Diffstat (limited to 'podman')
-rw-r--r--podman/arch-testenv5
-rwxr-xr-xpodman/testdata/testscript.sh6
-rw-r--r--podman/ubuntu-testenv5
3 files changed, 10 insertions, 6 deletions
diff --git a/podman/arch-testenv b/podman/arch-testenv
index 37236c9..ec05243 100644
--- a/podman/arch-testenv
+++ b/podman/arch-testenv
@@ -2,8 +2,9 @@
FROM docker.io/archlinux:latest
MAINTAINER gerbolyze@jaseg.de
RUN pacman --noconfirm -Syu
-RUN pacman --noconfirm -Sy pugixml opencv pango cairo git python make clang rustup cargo python-pip base-devel
+RUN pacman --noconfirm -Sy pugixml opencv pango cairo git python make clang rustup cargo python-pip base-devel gerbv rsync
+RUN python3 -m pip install pytest-parallel
RUN rustup install stable
RUN rustup default stable
-RUN cargo install usvg
+RUN cargo install usvg resvg
diff --git a/podman/testdata/testscript.sh b/podman/testdata/testscript.sh
index 59d8b0e..d36560d 100755
--- a/podman/testdata/testscript.sh
+++ b/podman/testdata/testscript.sh
@@ -1,5 +1,7 @@
#!/bin/sh
-pip3 install --user /data/gerbolyze-*.tar.gz --no-binary gerbolyze
-/root/.local/bin/svg-flatten --clear-color black --dark-color white --format svg /data/test_svg_readme.svg /out/test_out.svg
+set -e
+rsync -av /data/git git
+cd git
+python3 -m pytest $@
diff --git a/podman/ubuntu-testenv b/podman/ubuntu-testenv
index 2665d9b..5bd275e 100644
--- a/podman/ubuntu-testenv
+++ b/podman/ubuntu-testenv
@@ -2,6 +2,7 @@
FROM docker.io/ubuntu:latest
MAINTAINER gerbolyze@jaseg.de
RUN env DEBIAN_FRONTEND=noninteractive apt update -y
-RUN env DEBIAN_FRONTEND=noninteractive apt install -y libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-venv cargo
-RUN cargo install usvg
+RUN env DEBIAN_FRONTEND=noninteractive apt install -y libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-venv cargo rsync gerbv
+RUN cargo install usvg resvg
+RUN python3 -m pip install numpy slugify lxml click pillow scipy sphinx pytest beautifulsoup4 pytest-parallel