From a672249a9193bf32f9aa2e1b2ef5386598ec1009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Gajdu=C5=A1ek?= Date: Thu, 19 Dec 2024 12:47:29 +0100 Subject: [PATCH] Cross check Airgun installation with robottelo's dependencies (#1676) (cherry picked from commit 06e081f4fb5e7e22d176f7131a13e4a33e5a2d48) --- .github/workflows/pull_request.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1a1fdecc4..e62b210df 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -37,3 +37,28 @@ jobs: - name: Docs Build run: | make docs-html + + robottelo-cross-check: + name: Robottelo installation cross-check + runs-on: ubuntu-latest + steps: + - name: Checkout Airgun + uses: actions/checkout@v4 + + - name: Set Up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Download robottelo's requirements.txt + run: | + curl -s https://raw.githubusercontent.com/SatelliteQE/robottelo/$GITHUB_BASE_REF/requirements.txt -o requirements-robottelo.txt + + - name: Remove airgun from robottelo requirements + run: | + sed -i '/airgun/d' requirements-robottelo.txt + + - name: Robottelo Installability + run: | + pip install -U pip + pip install -U -r requirements-robottelo.txt -r requirements.txt -r requirements-optional.txt