From 3ed3dd3a1cf777cc89c929d68b7c95638b1ce1fe Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Fri, 20 Sep 2024 13:02:41 -0700 Subject: [PATCH] test c# and python on container Signed-off-by: Yury-Fridlyand --- .github/workflows/build-python-wrapper/action.yml | 1 + .github/workflows/csharp.yml | 2 +- .github/workflows/python.yml | 6 ------ 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-python-wrapper/action.yml b/.github/workflows/build-python-wrapper/action.yml index 72863c6a43..e9b01aae05 100644 --- a/.github/workflows/build-python-wrapper/action.yml +++ b/.github/workflows/build-python-wrapper/action.yml @@ -42,6 +42,7 @@ runs: - name: Install Python software dependencies shell: bash + if: !contains(inputs.os, 'amazon-linux') run: | # Disregarding PEP 668 as it addresses package managers conflicts, which is not applicable in the CI scope. INSTALL_FLAGS=`if [[ "${{ inputs.os }}" =~ .*"macos".* ]]; then echo "--break-system-packages"; else echo ""; fi` diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index 5ee13eb623..337db8ca93 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -155,7 +155,7 @@ jobs: - name: Install git run: | yum update - yum install -y git tar findutils-1 + yum install -y git tar findutils - uses: actions/checkout@v4 with: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c641262ab1..2c45fa629a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -282,12 +282,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - -# - name: Install dependencies -# working-directory: ./python -# run: | -# python -m pip install --upgrade pip -# pip install mypy-protobuf - name: Build Python wrapper uses: ./.github/workflows/build-python-wrapper