mirror of https://github.com/status-im/js-waku.git
chore: move the failed retries on test level (#1573)
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
This commit is contained in:
parent
bb4fdaa248
commit
aae1d9f68b
|
@ -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
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
"experimental-specifier-resolution=node",
|
||||
"loader=ts-node/esm"
|
||||
],
|
||||
"exit": true
|
||||
"exit": true,
|
||||
"retries": 3
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue