diff --git a/.gitignore b/.gitignore index 1c208b8..4a406bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -SOURCES/argh-0.26.1.tar.gz -/argh-0.26.1.tar.gz +*~ +*.rpm +*.tar* +results_*/ diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..332dc1e --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + pre_tasks: + - name: Copy spec file to remote machine + copy: + src: "{{ playbook_dir }}/../python-argh.spec" + dest: /tmp/python-argh.spec + - name: Install build dependencies + shell: dnf -y build-dep /tmp/python-argh.spec + args: + warn: false + roles: + - role: standard-test-source + - role: standard-test-basic + tests: + - smoke: + dir: ./source + run: python3 setup.py test