From b8b005bdb690a40839bb85bc41c642ee24250bb3 Mon Sep 17 00:00:00 2001 From: Maira Usman Date: Tue, 5 Nov 2024 16:41:53 +0500 Subject: [PATCH] [enhc] support for multiple Python versions (#299) * Refactor GitHub Actions workflow to support multiple Python versions Signed-off-by: Myrausman * CI improvements * MInor update python-app.yml Signed-off-by: Jay Dev Jha --------- Signed-off-by: Myrausman Signed-off-by: Jay Dev Jha Co-authored-by: Jay Dev Jha --- .github/workflows/python-app.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 78e4bbf1..0a84dc1d 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -18,10 +18,10 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12','3.13'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65395eb1..ec761d8a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,10 +18,10 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12','3.13'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} @@ -40,4 +40,4 @@ jobs: run: coverage xml - name: Upload coverage report - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v2