ci: reduced docs test suite timeout + disabled parallelization within a suite

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2021-12-16 17:10:49 -08:00
parent c817eef6ff
commit 40e1b28133
2 changed files with 17 additions and 17 deletions

View File

@ -202,22 +202,22 @@ jobs:
doc: doc:
name: Documentation name: Documentation
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 15
services: # services:
localstack: # localstack:
image: localstack/localstack:0.13.1 # image: localstack/localstack:0.13.1
env: # env:
SERVICES: s3, cloudformation # SERVICES: s3, cloudformation
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} # LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
ports: # ports:
- 4566:4566 # - 4566:4566
- 4571:4571 # - 4571:4571
options: >- # options: >-
--health-cmd "curl -f http://localhost:4566/health" # --health-cmd "curl -f http://localhost:4566/health"
--health-start-period 5s # --health-start-period 5s
--health-timeout 5s # --health-timeout 5s
--health-interval 5s # --health-interval 5s
--health-retries 10 # --health-retries 10
steps: steps:
- name: Check out - name: Check out

View File

@ -1,7 +1,7 @@
{ {
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "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": { "devDependencies": {
"bats": "https://github.com/bats-core/bats-core#master", "bats": "https://github.com/bats-core/bats-core#master",