13 lines
384 B
Bash
13 lines
384 B
Bash
|
#!/bin/sh -ex
|
||
|
|
||
|
wd='/work'
|
||
|
podman run \
|
||
|
--cap-add CAP_NET_ADMIN \
|
||
|
--pull=always \
|
||
|
--rm \
|
||
|
-it \
|
||
|
-v .:"$wd" \
|
||
|
registry.opensuse.org/home/crameleon/containers/containers/crameleon/pytest-nftables:latest \
|
||
|
env PYTHONPATH="$wd" pytest --pdb --pdbcls=IPython.terminal.debugger:Pdb -rA -s -v -x "$wd"/tests
|
||
|
|