From 4df5eedf84ffd06439186f40bf3a2b1526b1f992 Mon Sep 17 00:00:00 2001 From: Shwetha K Acharya Date: Tue, 18 Jul 2023 16:32:42 +0530 Subject: [PATCH] CI: python-version not set in drenv and ramenctl tests We have following CI warnings for drenv and ramenctl tests: The python-version input is not set. The version of Python currently in PATH will be used. Added the python versions supported by ubuntu-22.04 to resolve the above stated issue. Fixes: #989 Signed-off-by: Shwetha K Acharya --- .github/workflows/ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 95c7b74bfb..3d415dc947 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -93,12 +93,17 @@ jobs: drenv-test: name: drenv tests runs-on: ubuntu-22.04 + strategy: + matrix: + python-version: ["3.9", "3.10", "3.11"] steps: - name: Checkout source uses: actions/checkout@v3 - name: Setup python uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Install minikube run: | @@ -145,12 +150,18 @@ jobs: ramenctl-test: name: ramenctl tests runs-on: ubuntu-22.04 + strategy: + matrix: + python-version: ["3.9", "3.10", "3.11"] + steps: - name: Checkout source uses: actions/checkout@v3 - name: Setup python uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Install tools run: pip install -r requirements.txt