From 75da99ec209ff42f397824d6898d4691ad4cb877 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Fri, 20 Sep 2024 14:29:45 -0700 Subject: [PATCH] test c# and python on container Signed-off-by: Yury-Fridlyand --- .github/workflows/csharp.yml | 2 +- .github/workflows/python.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index 6b96a14d35..d8222a2df6 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -178,7 +178,7 @@ jobs: - name: Test dotnet ${{ matrix.dotnet }} working-directory: csharp # run: dotnet test --framework net${{ matrix.dotnet }} "-l:html;LogFileName=TestReport.html" --results-directory . -warnaserror - run: dotnet test "-l:html;LogFileName=TestReport.html" --results-directory . -warnaserror + run: dotnet test --framework net8.0 "-l:html;LogFileName=TestReport.html" --results-directory . -warnaserror - name: Upload test reports if: always() diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index d5c17bd7ea..b583f05fba 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -266,11 +266,12 @@ jobs: image: ${{ matrix.host.IMAGE }} options: ${{ join(' -q ', matrix.host.CONTAINER_OPTIONS) }} # adding `-q` to bypass empty options steps: - - name: Install git + - name: Install git and python run: | - yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm yum update yum install -y git tar python3 + python3 -m ensurepip --upgrade + python3 -m pip install --upgrade pip python3 -m pip install mypy-protobuf virtualenv # python3 -m ensurepip --upgrade # python3 -m pip install --upgrade pip @@ -280,6 +281,7 @@ jobs: # yum update # yum update glibc # yum reinstall glibc +# yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm - uses: actions/checkout@v4 with: