Skip to content

Commit 4e6a09c

Browse files
committed
Add test metadata.
1 parent ea581ce commit 4e6a09c

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.fmf/version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

.packit.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
specfile_path: ci/rubygem-abrt.spec
2+
jobs:
3+
- job: tests
4+
trigger: pull_request
5+
metadata:
6+
targets:
7+
- fedora-all
8+
actions:
9+
create-archive:
10+
- bash -c "gem build *.gemspec; mv -f *.gem ci/; ls ci/*.gem"
11+
fix-spec-file:
12+
- 'true'

ci/tests.fmf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
summary: Run spec test suite
2+
3+
prepare:
4+
# Until cruncher is replaced with TMT
5+
# how: install
6+
# package: rubygem-rspec
7+
how: shell
8+
script: 'dnf install -y rubygem-rspec'
9+
10+
execute:
11+
# Until cruncher is replaced with TMT
12+
# script: rspec spec
13+
script: cd ~/git-source; rspec spec

0 commit comments

Comments
 (0)