Skip to content

Commit

Permalink
CI: python-version not set in drenv and ramenctl tests
Browse files Browse the repository at this point in the history
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: RamenDR#989
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
  • Loading branch information
Shwetha-Acharya committed Jul 19, 2023
1 parent c126042 commit 4df5eed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4df5eed

Please sign in to comment.