ci: test with EPEL 9 renaming in EL 9 job

This commit is contained in:
Maxwell G 2024-03-02 17:58:15 +00:00
commit 6841eb31ca
Signed by: gotmax23
GPG key ID: F79E4E25E8C661F8
4 changed files with 25 additions and 0 deletions

View file

@ -15,4 +15,10 @@ sources:
tasks:
- pytest: |
cd forge-srpm-macros
if [ "$(rpm -E %{?rhel})" = "9" ]; then
make epel9-build
export \
MACRO_DIR="$(pwd)/epel9/rpm/macros.d" \
MACRO_LUA_DIR="$(pwd)/epel9/rpm/lua"
fi
pytest -vv

View file

@ -15,4 +15,10 @@ sources:
tasks:
- pytest: |
cd forge-srpm-macros
if [ "$(rpm -E %{?rhel})" = "9" ]; then
make epel9-build
export \
MACRO_DIR="$(pwd)/epel9/rpm/macros.d" \
MACRO_LUA_DIR="$(pwd)/epel9/rpm/lua"
fi
pytest -vv

View file

@ -15,4 +15,10 @@ sources:
tasks:
- pytest: |
cd forge-srpm-macros
if [ "$(rpm -E %{?rhel})" = "9" ]; then
make epel9-build
export \
MACRO_DIR="$(pwd)/epel9/rpm/macros.d" \
MACRO_LUA_DIR="$(pwd)/epel9/rpm/lua"
fi
pytest -vv

View file

@ -15,4 +15,11 @@ sources:
tasks:
- pytest: |
cd forge-srpm-macros
if [ "$(rpm -E %{?rhel})" = "9" ]; then
sudo dnf install -y epel-rpm-macros
make epel9-build
export \
MACRO_DIR="$(pwd)/epel9/rpm/macros.d" \
MACRO_LUA_DIR="$(pwd)/epel9/rpm/lua"
fi
pytest -vv