Run tests in infrastructure

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

@ -1,12 +1,13 @@
# 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 crate sha1 %global crate sha1
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.6.0 Version: 0.6.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Minimal implementation of SHA1 for Rust Summary: Minimal implementation of SHA1 for Rust
License: BSD License: BSD
@ -62,6 +63,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,upload-docs.sh} %exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,upload-docs.sh}
%changelog %changelog
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-3
- Rebuild to trigger tests
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

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