From 74bc1fa2ea6c598005c282f28005dd736678b682 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:59:00 -0500 Subject: [PATCH] Cross check Airgun installation with robottelo's dependencies (#1676) (#1680) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 06e081f4fb5e7e22d176f7131a13e4a33e5a2d48) Co-authored-by: Ondřej Gajdušek --- .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