From 40e1b28133c6c9289088fb95ee29f7374de9d02d Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Thu, 16 Dec 2021 17:10:49 -0800 Subject: [PATCH] ci: reduced docs test suite timeout + disabled parallelization within a suite Signed-off-by: Sam Alba --- .github/workflows/ci.yml | 32 ++++++++++++++++---------------- docs/learn/tests/package.json | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 219473ce..48b16184 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -202,22 +202,22 @@ jobs: doc: name: Documentation runs-on: ubuntu-latest - timeout-minutes: 30 - services: - localstack: - image: localstack/localstack:0.13.1 - env: - SERVICES: s3, cloudformation - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - ports: - - 4566:4566 - - 4571:4571 - options: >- - --health-cmd "curl -f http://localhost:4566/health" - --health-start-period 5s - --health-timeout 5s - --health-interval 5s - --health-retries 10 + timeout-minutes: 15 + # services: + # localstack: + # image: localstack/localstack:0.13.1 + # env: + # SERVICES: s3, cloudformation + # LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + # ports: + # - 4566:4566 + # - 4571:4571 + # options: >- + # --health-cmd "curl -f http://localhost:4566/health" + # --health-start-period 5s + # --health-timeout 5s + # --health-interval 5s + # --health-retries 10 steps: - name: Check out diff --git a/docs/learn/tests/package.json b/docs/learn/tests/package.json index 94e0d7b4..4a8cd1da 100644 --- a/docs/learn/tests/package.json +++ b/docs/learn/tests/package.json @@ -1,7 +1,7 @@ { "license": "Apache-2.0", "scripts": { - "test": "bats --jobs 4 --show-output-of-passing-tests --print-output-on-failure ." + "test": "bats --jobs 4 --show-output-of-passing-tests --print-output-on-failure --no-parallelize-within-files ." }, "devDependencies": { "bats": "https://github.com/bats-core/bats-core#master",