diff --git a/.gitignore b/.gitignore index 79f93f4..12a763a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ SOURCES/cffi-1.11.5.tar.gz /cffi-1.11.5.tar.gz +/artifacts +/tests/artifacts diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..91aaa83 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,23 @@ +--- + +# 1minutetip --buildroot + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + + - role: standard-test-basic + required_packages: + - python3-cffi + - python3-pytest + - python3-devel + - gcc + tests: + - unittests: + dir: "source" + # cffi1 and test_version depend on files that are not packaged + run: >- + rm -rf cffi* testing/cffi0/test_version.py && + pytest-3 testing/cffi0