Skip to content

Commit

Permalink
Add --exists-action option to git checkouts for pip (#3880)
Browse files Browse the repository at this point in the history
* Add --exists-action option to git checkouts for pip

Fixes #3879

* Move pip option to workflow file

* Try again with wipe

* Restrict to Windows

* Revert "Restrict to Windows"

This reverts commit d5cbaac.
  • Loading branch information
ocelotl authored Apr 26, 2024
1 parent d213e02 commit 634c9f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
# opentelemetry-python-contrib which is compatible with these Core repo
# changes.
CONTRIB_REPO_SHA: 9ce1c26d2732dfbdadbb492fc38c562dcd08ed2e

# This is needed because we do not clone the core repo in contrib builds anymore.
# When running contrib builds as part of core builds, we use actions/checkout@v4 which
# does not set an environment variable (simply just runs tox), which is different when
Expand All @@ -19,6 +20,9 @@ env:
# from within the contrib build.
CORE_REPO_SHA: ${{ github.sha }}

# See #3879 and https://pip.pypa.io/en/stable/cli/pip/#exists-action-option
PIP_EXISTS_ACTION: w

jobs:
build:
env:
Expand Down

0 comments on commit 634c9f4

Please sign in to comment.