run tests in infrastructure

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

@ -1,11 +1,12 @@
# Generated by rust2rpm
%bcond_without check
# * Tests are run in infrastructure
%bcond_with check
%global crate ripgrep
Name: rust-%{crate}
Version: 0.10.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Line oriented search tool using Rust's regex library
# Upstream license specification: Unlicense OR MIT
@ -92,6 +93,9 @@ the raw performance of grep with the usability of the silver searcher.
%{_datadir}/zsh/site-functions/_rg
%changelog
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-2
- Run tests in infrastructure
* Sun Sep 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-1
- Update to 0.10.0

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