From 8d6f14eada1eaaaf6e716a96cd0dc74ec83d03a7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 11 2019 12:40:40 +0000 Subject: Run tests in infrastructure Signed-off-by: Igor Gnatenko --- diff --git a/rust-askalono.spec b/rust-askalono.spec index d71817c..9f1bb28 100644 --- a/rust-askalono.spec +++ b/rust-askalono.spec @@ -1,12 +1,12 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil} %global crate askalono Name: rust-%{crate} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to detect the contents of license files # Upstream license specification: Apache-2.0 @@ -56,7 +56,6 @@ which use "%{crate}" crate. %files devel %doc CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md NOTICE README.md -%doc examples %license LICENSE %{cargo_registry}/%{crate}-%{version}/ @@ -113,5 +112,8 @@ which use "spdx" feature of "%{crate}" crate. %endif %changelog +* Thu Apr 11 14:40:21 CEST 2019 Igor Gnatenko - 0.3.0-2 +- Run tests in infrastructure + * Thu Mar 28 09:11:54 CET 2019 Robert-André Mauchin - 0.3.0-1 - Initial package diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..35f606d --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/rust.git" + dest: rust + tests: + - rust/cargo-test + environment: + pkg: rust-askalono