Skip to content

Commit

Permalink
Merge pull request #437 from vojtechtrefny/main_packit-tmt-tests
Browse files Browse the repository at this point in the history
ci: Add a simple tmt test and run it via packit
  • Loading branch information
vojtechtrefny authored Mar 21, 2024
2 parents 05fc468 + 6751579 commit 1b7473d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
5 changes: 5 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
- fedora-all
trigger: pull_request

- job: tests
trigger: pull_request
targets:
- fedora-latest-stable

- job: copr_build
trigger: commit
owner: "@storage"
Expand Down
16 changes: 16 additions & 0 deletions plans/tests.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
summary: Run tests

prepare:
- name: copr
how: shell
script:
- sudo dnf install -y 'dnf-command(copr)'
- sudo dnf copr enable -y @storage/blivet-daily

- name: ansible
how: ansible
playbook: misc/install-test-dependencies.yml

execute:
how: tmt
script: sudo make test

0 comments on commit 1b7473d

Please sign in to comment.