1
0
forked from Georg/pyacl
pyacl/test.sh
Georg Pfuetzenreuter 6f05367ae6
Test in container
Avoid the need for specific test users on ones main system.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-09-16 16:41:55 +02:00

12 lines
320 B
Bash
Executable File

#!/bin/sh -ex
command -v podman
wd='/work'
podman run \
-it \
--pull=always \
--rm \
-v .:/"$wd" \
registry.opensuse.org/home/crameleon/containers/containers/crameleon/pytest-acl:latest \
env PYTHONPATH=/"$wd" pytest --pdb --pdbcls=IPython.terminal.debugger:Pdb -rA -s -v -x "$wd"/tests