From 72e54643afc49e0f91c2d5d316e6325823849bf6 Mon Sep 17 00:00:00 2001 From: Timothy Pansino <11214426+TimPansino@users.noreply.github.com> Date: Wed, 6 Oct 2021 15:34:21 -0700 Subject: [PATCH] Update Testing Infra (#401) * Add aggregate test check * Formatting * Add job timeouts --- .github/workflows/tests.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc29f5678c..fb8687dbec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,6 +23,27 @@ on: pull_request: jobs: + tests: # Aggregate job that provides a single check for workflow success + runs-on: ubuntu-latest + needs: + - python + - grpc + - libcurl + - postgres + - mysql + - redis + - solr + - memcached + - rabbitmq + - mongodb + - elasticsearchserver01 + - elasticsearchserver07 + - gearman + + steps: + - name: Success + run: echo "Success!" + python: env: TOTAL_GROUPS: 20 @@ -54,6 +75,7 @@ jobs: ] runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v2 @@ -123,6 +145,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v2 @@ -192,6 +215,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v2 @@ -268,6 +292,7 @@ jobs: group-number: [1, 2] runs-on: ubuntu-latest + timeout-minutes: 15 services: postgres: @@ -353,6 +378,7 @@ jobs: group-number: [1, 2] runs-on: ubuntu-latest + timeout-minutes: 15 services: mysql: @@ -441,6 +467,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: redis: @@ -524,6 +551,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: solr: @@ -609,6 +637,7 @@ jobs: group-number: [1, 2] runs-on: ubuntu-latest + timeout-minutes: 15 services: memcached: @@ -692,6 +721,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: rabbitmq: @@ -776,6 +806,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: mongodb: @@ -859,6 +890,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: es01: @@ -944,6 +976,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: es01: @@ -1029,6 +1062,7 @@ jobs: group-number: [1] runs-on: ubuntu-latest + timeout-minutes: 15 services: gearman: