Skip to content

Commit

Permalink
local tmt/fmf hell
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Jan 22, 2024
1 parent 25b4d1d commit be76752
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ jobs:
# We don't want to run two test runs; so we limit this to a single package
packages:
- mock
fmf_url: https://github.com/praiskup/mock-fmf.git
fmf_ref: main
#fmf_url: https://github.com/praiskup/mock-fmf.git
fmf_path: testing-farm
1 change: 1 addition & 0 deletions testing-farm/.fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
14 changes: 14 additions & 0 deletions testing-farm/plans/behave.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
summary: run the behave tests in Fedora Testing Farm
discover:
how: fmf
filter: "tag: behave"

prepare:
how: ansible
playbook: ../mock/integration-tests/setup-playbook/setup-playbook.yml

execute:
how: tmt

# vi: ft=yaml
3 changes: 3 additions & 0 deletions testing-farm/tests/behave/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
summary: Execute the behave test
test: ./test.sh
tag: behave
4 changes: 4 additions & 0 deletions testing-farm/tests/behave/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh -eux

find
echo hello

0 comments on commit be76752

Please sign in to comment.