Browse Source

ref: don't hide exit code on installation failures (#42422)

this makes things ~5 seconds slower but:
- now things actually fail when failing
- there's a very rare race between multiple pip processes that this
avoids
anthony sottile 2 years ago
parent
commit
8714b4825f
1 changed files with 2 additions and 5 deletions
  1. 2 5
      .github/actions/setup-sentry/action.yml

+ 2 - 5
.github/actions/setup-sentry/action.yml

@@ -134,12 +134,9 @@ runs:
         WORKDIR: ${{ inputs.workdir }}
       run: |
         cd "$WORKDIR"
-        python setup.py install_egg_info
+        pip install -r requirements-dev-frozen.txt
         # We need to install editable otherwise things like check migration will fail.
-        pip install -r requirements-dev-frozen.txt & \
-        SENTRY_LIGHT_BUILD=1 pip install --no-deps -e . & \
-        wait
-        cd -
+        SENTRY_LIGHT_BUILD=1 pip install --no-deps -e .
 
     - name: Start devservices
       shell: bash