- Resolves: rhbz#2445195 Upstream tag: 1.15.1 Upstream commit: 460154b0 Commit authored by Packit automation (https://packit.dev/)
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
summary: Unit, integration & functional tests.
|
||
|
||
discover+:
|
||
filter: tag:full
|
||
|
||
adjust:
|
||
- when: "initiator == packit"
|
||
because: "have the latest builds of ogr and specfile available for upstream test jobs"
|
||
prepare+:
|
||
# enable packit-dev Copr repo to get the latest builds of ogr and specfile
|
||
- how: install
|
||
copr: packit/packit-dev
|
||
# make sure the Copr repo has higher priority than TF Tag Repository
|
||
- how: shell
|
||
script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo
|
||
|
||
# upgrade or install ‹ogr›, if needed
|
||
- how: shell
|
||
script: dnf -y upgrade python3-ogr || dnf -y install python3-ogr
|
||
|
||
# upgrade or install ‹specfile›, if needed
|
||
- how: shell
|
||
script: dnf -y upgrade python3-specfile || dnf -y install python3-specfile
|
||
|
||
- when: "distro == rhel-9 or distro == centos-9 or distro == centos-stream-9"
|
||
because: "build and deepdiff are not in EPEL 9"
|
||
prepare+:
|
||
- how: install
|
||
package: python3-pip
|
||
- how: shell
|
||
script: pip3 install build deepdiff
|