From d7fe9387f40273a0a15fc1c274e927fc0f4213d1 Mon Sep 17 00:00:00 2001 From: Deanna Garcia Date: Tue, 3 Jan 2023 22:26:21 +0000 Subject: [PATCH] Attempt to fix tests --- .github/workflows/bazel_tests.yml | 2 +- .github/workflows/source_distribution_tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bazel_tests.yml b/.github/workflows/bazel_tests.yml index efe6fe5e69..e184634684 100644 --- a/.github/workflows/bazel_tests.yml +++ b/.github/workflows/bazel_tests.yml @@ -96,4 +96,4 @@ jobs: - name: Uninstall python run: which python3 && sudo mv `which python3` /tmp && ! which python3 - name: Run tests - run: cd ${{ github.workspace }} && bazel test --test_output=errors $BAZEL_CACHE $BAZEL_CACHE_AUTH //python/... + run: cd ${{ github.workspace }} && bazel test --test_output=errors $BAZEL_CACHE $BAZEL_CACHE_AUTH //python/... -- -//python/dist:source_wheel diff --git a/.github/workflows/source_distribution_tests.yml b/.github/workflows/source_distribution_tests.yml index 1abe4c9e42..fa30e7baeb 100644 --- a/.github/workflows/source_distribution_tests.yml +++ b/.github/workflows/source_distribution_tests.yml @@ -90,7 +90,7 @@ jobs: - name: Install Protobuf Test wheel run: pip install -vvv --no-index --find-links . protobuftests - name: Install python source - run: cd protobuf-*/ && python setup.py install + run: cd protobuf-*/ && pip install . - name: Print installs for debugging run: pip list -v - name: Test that module is importable