From 8e8d1160bc7f351a315329a9102d501e3fda0ca3 Mon Sep 17 00:00:00 2001 From: Igor Sarkisov Date: Fri, 17 Jan 2025 14:50:39 -0800 Subject: [PATCH] Fix grpc proto paths --- .github/actions/on_device_tests/action.yaml | 6 +++--- .github/workflows/main.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/on_device_tests/action.yaml b/.github/actions/on_device_tests/action.yaml index 86bf7a2d940a9..437bd837f70fc 100644 --- a/.github/actions/on_device_tests/action.yaml +++ b/.github/actions/on_device_tests/action.yaml @@ -18,7 +18,7 @@ runs: shell: bash - name: Generate gRPC files run: | - python -m grpc_tools.protoc -Itools/ --python_out=cobalt/tools/ --grpc_python_out=cobalt/tools/ cobalt/tools/on_device_tests_gateway.proto + python -m grpc_tools.protoc -I${GITHUB_WORKSPACE}/cobalt/tools/ --python_out=${GITHUB_WORKSPACE}/cobalt/tools/ --grpc_python_out=${GITHUB_WORKSPACE}/cobalt/tools/ ${GITHUB_WORKSPACE}/cobalt/tools/on_device_tests_gateway.proto shell: bash - name: Set Up Cloud SDK uses: isarkis/setup-gcloud@40dce7857b354839efac498d3632050f568090b6 # v1.1.1 @@ -54,8 +54,8 @@ runs: run: | set -uxe python3 -u cobalt/tools/on_device_tests_gateway_client.py \ - --platform_json "${GITHUB_WORKSPACE}/src/.github/config/${{ matrix.platform}}.json" \ - --filter_json_dir "${GITHUB_WORKSPACE}/src/cobalt/testing/${{ matrix.platform}}" \ + --platform_json "${GITHUB_WORKSPACE}/.github/config/${{ matrix.platform}}.json" \ + --filter_json_dir "${GITHUB_WORKSPACE}/cobalt/testing/${{ matrix.platform}}" \ --token ${GITHUB_TOKEN} \ --change_id ${GITHUB_PR_NUMBER:-postsubmit} \ --label builder-${{ matrix.platform }} \ diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 2069a63024a35..ec2470ed1781b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -151,7 +151,7 @@ jobs: matrix: platform: ${{ fromJson(needs.initialize.outputs.platforms) }} include: ${{ fromJson(needs.initialize.outputs.includes) }} - config: [devel, qa, gold] + config: [devel] container: ${{ needs.docker-build-image.outputs.docker_tag }} env: TEST_ARTIFACTS_KEY: ${{ matrix.platform }}_${{ matrix.name }}_test_artifacts