From c33d51b133c909927d62d9e0cebdba320b19fd71 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 27 Jan 2025 14:20:48 -0500 Subject: [PATCH] Add arm64 linux runners for python checks with Jenkins Docker Images (#5249) Signed-off-by: Peter Zhu --- .github/workflows/python-tests.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 5ac269c9dc..618dafb0d0 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -13,7 +13,8 @@ jobs: strategy: matrix: os: - - macos-latest + - macos-14 # arm64 + - macos-13 # x64 - windows-latest runs-on: ${{ matrix.os }} env: @@ -40,14 +41,15 @@ jobs: - name: Run Tests with Coverage run: | pipenv run coverage run -m pytest --cov=./src --cov-report=xml - - name: Upload Coverage Report - uses: codecov/codecov-action@v2 - with: - files: ./coverage.xml python-tests-linux: needs: Get-CI-Image-Tag - runs-on: ubuntu-latest + strategy: + matrix: + os: + - ubuntu-24.04-arm # arm64-preview + - ubuntu-24.04 # x64 + runs-on: ${{ matrix.os }} container: # using the same image which is used by opensearch-build team to build the OpenSearch Distribution # this image tag is subject to change as more dependencies and updates will arrive over time