Skip to content

Commit

Permalink
packit: Add tmt tests for rhel10-branch running on C10S
Browse files Browse the repository at this point in the history
vojtechtrefny committed Sep 5, 2024
1 parent fcf1610 commit ec4b84f
Showing 3 changed files with 27 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -44,6 +44,13 @@ jobs:
- fedora-latest-stable
branch: main

# CentOS 10 Stream tests for the 'rhel10-branch'
- job: tests
trigger: pull_request
targets:
- centos-stream-10-x86_64
branch: rhel10-branch

# Downstream builds
- job: propose_downstream
trigger: release
16 changes: 16 additions & 0 deletions plans/tests-rhel.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
summary: Run tests

adjust+:
- when: revdeps == yes
enabled: false
- when: distro == fedora
enabled: false

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

execute:
how: tmt
script: sudo make test
6 changes: 4 additions & 2 deletions plans/tests.fmf
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
summary: Run tests

adjust+:
when: revdeps == yes
enabled: false
- when: revdeps == yes
enabled: false
- when: distro == centos
enabled: false

prepare:
- name: copr

0 comments on commit ec4b84f

Please sign in to comment.