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:
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

View File

@ -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",