Run tests in infrastructure

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

@ -1,18 +1,18 @@
# Generated by rust2rpm
%bcond_without check
%bcond_with check
%global debug_package %{nil}
%global crate bytesize
Name: rust-%{crate}
Version: 1.0.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Human-readable bytes representations
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/bytesize
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
@ -65,7 +65,7 @@ which use "serde" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@ -80,6 +80,9 @@ which use "serde" feature of "%{crate}" crate.
%endif
%changelog
* Mon Feb 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-3
- Run tests in infrastructure
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_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-bytesize
Loading…
Cancel
Save