From 8100960c49497b12346deb7ef9099f8beccce84c Mon Sep 17 00:00:00 2001 From: Lyn Nagara Date: Wed, 21 Jun 2023 15:55:09 -0700 Subject: [PATCH] ci: Fail faster (#4390) This sometimes just gets stuck and times out. Let's fail faster. --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4108515e6b..b35b9561ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: name: Checkout code - name: Internal github app token id: token - uses: getsentry/action-github-app-token@97c9e23528286821f97fba885c1b1123284b29cc # v2.0.0 + uses: getsentry/action-github-app-token@97c9e23528286821f97fba885c1b1123284b29cc # v2.0.0 continue-on-error: true with: app_id: ${{ vars.SENTRY_INTERNAL_APP_ID }} @@ -161,7 +161,7 @@ jobs: needs: [linting, snuba-image] name: Tests and code coverage runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 30 strategy: matrix: snuba_settings: @@ -206,7 +206,6 @@ jobs: SNUBA_IMAGE=snuba-test SNUBA_SETTINGS=test_initialization TEST_LOCATION=test_initialization docker-compose -f docker-compose.gcb.yml run --rm snuba-test if: ${{ matrix.snuba_settings == 'test' }} - - name: Upload to codecov run: | curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov -t ${CODECOV_TOKEN}