Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- job: copr_build
trigger: pull_request
targets: *targets
additional_repos:
- "copr://@teemtee/latest"
Comment thread
psss marked this conversation as resolved.

# Test pull requests
- job: tests
Expand Down
41 changes: 26 additions & 15 deletions plans/integration.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,35 @@ summary:
Run integration tests with tmt
discover:
how: fmf
url: https://github.com/teemtee/tmt
ref: fedora
Comment thread
thrix marked this conversation as resolved.
filter: 'tier: 1 & tag:-provision-only'
prepare:
- how: install
package:
- jq
- yq
- python3-pip
- tmt-all
- how: shell
script:
# Try to install into .local first, if that fails, try without --user.
# In the sane world, tmt would be running in a virtualenv, and we'd
# install yq there. Otherwise, we'd change system packages, but we'd
# have to run as root to do that, and who's running tmt test suite
# as root?
#
# We need to freeze yq to 3.1.1 so that it's installable on el8 as
# newer yq requires tomlkit>=0.11.7 which is python 3.7+ only.
- pip3 install --user yq==3.1.1 || pip3 install yq==3.1.1
- yq --help
enabled: false

adjust:
- when: initiator == packit
because: >
We want to test against the tmt main branch
prepare+:
- how: install
copr: "@teemtee/latest"
discover+:
url: https://github.com/teemtee/tmt
ref: main
Comment thread
thrix marked this conversation as resolved.
enabled: true
- when: initiator == fedora-ci
Comment thread
psss marked this conversation as resolved.
because: >
We want to test against the source in Fedora
discover+:
dist-git-source: true
# Technically we do not want to do dist-git-merge, but it is safe for us right now
# because there are no clashing test definitions
# https://github.com/teemtee/tmt/issues/4840
dist-git-merge: true
url: https://src.fedoraproject.org/rpms/tmt.git
ref: $@{dist-git-branch}
enabled: true
Loading