run tests in infrastructure

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent c8428d24e7
commit c25f5d2e15
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,12 +1,13 @@
# Generated by rust2rpm
%bcond_without check
# * Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil}
%global crate rand_xorshift
Name: rust-%{crate}
Version: 0.1.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Xorshift random number generator
# Upstream license specification: MIT/Apache-2.0
@ -107,5 +108,8 @@ which use "serde_derive" feature of "%{crate}" crate.
%endif
%changelog
* Sat Dec 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-2
- Run tests in infrastructure
* Tue Nov 27 2018 Josh Stone <jistone@redhat.com> - 0.1.0-1
- Initial package

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -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-rand_xorshift
Loading…
Cancel
Save