Run tests in infrastructure

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

@ -1,5 +1,6 @@
# Generated by rust2rpm # Generated by rust2rpm
%bcond_without check # * Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global __cargo_is_bin() false %global __cargo_is_bin() false
@ -8,7 +9,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.12.0 Version: 0.12.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Error boilerplate library Summary: Error boilerplate library
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -93,6 +94,9 @@ which use "example_generated" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.0-3
- Run tests in infrastructure
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.0-2 * Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.0-2
- Adapt to new packaging - Adapt to new packaging

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