chore: move the failed retries on test level (#1573)

Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
This commit is contained in:
fbarbu15 2023-09-18 12:48:47 +03:00 committed by GitHub
parent bb4fdaa248
commit aae1d9f68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 26 deletions

View File

@ -24,7 +24,6 @@ on:
env:
NODE_JS: "18"
RETRY_ATTEMPTS: 3
jobs:
check:
@ -96,11 +95,8 @@ jobs:
- run: npm run build:esm
- uses: Wandalen/wretry.action@master
with:
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:node
with: |
- run: npm run test:node
env:
DEBUG: ""
- name: Upload debug logs on failure
@ -135,11 +131,8 @@ jobs:
- run: npm run build:esm
- uses: Wandalen/wretry.action@master
with:
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:optional --workspace=@waku/tests
with: |
- run: npm run test:optional --workspace=@waku/tests
env:
DEBUG: ""
node_with_go_waku_master:
@ -163,11 +156,8 @@ jobs:
- run: npm run build:esm
- uses: Wandalen/wretry.action@master
with:
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:node
with: |
- run: npm run test:node
env:
DEBUG: "waku:nwaku*,waku:test*"
- name: Upload debug logs on failure
@ -203,11 +193,8 @@ jobs:
- run: npm run build:esm
- uses: Wandalen/wretry.action@master
with:
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:node
with: |
- run: npm run test:node
env:
DEBUG: "waku:nwaku*,waku:test*"
- name: Upload debug logs on failure

View File

@ -6,5 +6,6 @@
"experimental-specifier-resolution=node",
"loader=ts-node/esm"
],
"exit": true
"exit": true,
"retries": 3
}