Merge pull request #1246 from samalba/fix-ci-docs-workaround

ci: reduced docs test suite timeout + disabled parallelization within the same suite
This commit is contained in:
Sam Alba 2021-12-16 17:37:28 -08:00 committed by GitHub
commit 758dcfb679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",