From 3db6a577a7b1a3feaa49d9db416c8b7b749684fd Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 13:42:46 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 20 ++++++++++++++++++-- tests/tests.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 7b4f279..41d4ee1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,20 @@ -SOURCES/v0.1.5.tar.gz -SOURCES/v0.3.7.tar.gz +pyasn1-0.0.9a.tar.gz +/pyasn1-0.0.12a.tar.gz +/pyasn1-0.1.2.tar.gz +/pyasn1-modules-0.0.2.tar.gz +/pyasn1-0.1.6.tar.gz +/pyasn1-modules-0.0.4.tar.gz +/pyasn1-0.1.7.tar.gz +/pyasn1-modules-0.0.5.tar.gz +/pyasn1-0.1.8.tar.gz +/pyasn1-modules-0.0.6.tar.gz +/pyasn1-modules-0.0.8.tar.gz +/pyasn1-0.1.9.tar.gz +/v0.2.1.tar.gz +/v0.2.3.tar.gz +/v0.3.2.tar.gz +/v0.0.11.tar.gz +/v0.3.4.tar.gz +/v0.1.2.tar.gz /v0.1.5.tar.gz /v0.3.7.tar.gz diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..9ae91e7 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,27 @@ +--- +- hosts: localhost + tags: + - classic + pre_tasks: + - import_role: + name: standard-test-source + vars: + flatten: false + + roles: + - role: standard-test-basic + required_packages: + - python3-pyasn1 + - python3-pyasn1-modules + - python3-pytest + tests: + - unittests-pyasn1: + dir: "source/pyasn1-0.3.7" + run: >- + rm -rf pyasn1* && + pytest-3 tests/ + - unittests-pyasn1-modules: + dir: "source/pyasn1-modules-0.1.5" + run: >- + rm -rf pyasn1_modules* && + pytest-3 tests/