parent
40387dc073
commit
83e811d3ea
2
tests/smoke.fmf
Normal file
2
tests/smoke.fmf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
test: bash ./smoke.sh
|
||||||
|
framework: shell
|
12
tests/smoke.sh
Normal file
12
tests/smoke.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
username="test_$$"
|
||||||
|
id "$username" && userdel -rf "$username"
|
||||||
|
|
||||||
|
useradd "$username"
|
||||||
|
su -l -c "echo simple-manylinux-demo > requirements.txt" "$username"
|
||||||
|
su -l -c "micropipenv install -- --user" "$username"
|
||||||
|
su -l -c "python3 -c 'from dummyextension.extension import hello; assert hello() == \"Hello from Python extension!\"'" "$username"
|
||||||
|
|
||||||
|
userdel -rf "$username"
|
Loading…
Reference in New Issue
Block a user