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