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:
|
env:
|
||||||
NODE_JS: "18"
|
NODE_JS: "18"
|
||||||
RETRY_ATTEMPTS: 3
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
@ -96,11 +95,8 @@ jobs:
|
||||||
|
|
||||||
- run: npm run build:esm
|
- run: npm run build:esm
|
||||||
|
|
||||||
- uses: Wandalen/wretry.action@master
|
- run: npm run test:node
|
||||||
with:
|
env:
|
||||||
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
|
|
||||||
command: npm run test:node
|
|
||||||
with: |
|
|
||||||
DEBUG: ""
|
DEBUG: ""
|
||||||
|
|
||||||
- name: Upload debug logs on failure
|
- name: Upload debug logs on failure
|
||||||
|
@ -135,11 +131,8 @@ jobs:
|
||||||
|
|
||||||
- run: npm run build:esm
|
- run: npm run build:esm
|
||||||
|
|
||||||
- uses: Wandalen/wretry.action@master
|
- run: npm run test:optional --workspace=@waku/tests
|
||||||
with:
|
env:
|
||||||
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
|
|
||||||
command: npm run test:optional --workspace=@waku/tests
|
|
||||||
with: |
|
|
||||||
DEBUG: ""
|
DEBUG: ""
|
||||||
|
|
||||||
node_with_go_waku_master:
|
node_with_go_waku_master:
|
||||||
|
@ -163,11 +156,8 @@ jobs:
|
||||||
|
|
||||||
- run: npm run build:esm
|
- run: npm run build:esm
|
||||||
|
|
||||||
- uses: Wandalen/wretry.action@master
|
- run: npm run test:node
|
||||||
with:
|
env:
|
||||||
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
|
|
||||||
command: npm run test:node
|
|
||||||
with: |
|
|
||||||
DEBUG: "waku:nwaku*,waku:test*"
|
DEBUG: "waku:nwaku*,waku:test*"
|
||||||
|
|
||||||
- name: Upload debug logs on failure
|
- name: Upload debug logs on failure
|
||||||
|
@ -203,11 +193,8 @@ jobs:
|
||||||
|
|
||||||
- run: npm run build:esm
|
- run: npm run build:esm
|
||||||
|
|
||||||
- uses: Wandalen/wretry.action@master
|
- run: npm run test:node
|
||||||
with:
|
env:
|
||||||
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
|
|
||||||
command: npm run test:node
|
|
||||||
with: |
|
|
||||||
DEBUG: "waku:nwaku*,waku:test*"
|
DEBUG: "waku:nwaku*,waku:test*"
|
||||||
|
|
||||||
- name: Upload debug logs on failure
|
- name: Upload debug logs on failure
|
||||||
|
|
|
@ -6,5 +6,6 @@
|
||||||
"experimental-specifier-resolution=node",
|
"experimental-specifier-resolution=node",
|
||||||
"loader=ts-node/esm"
|
"loader=ts-node/esm"
|
||||||
],
|
],
|
||||||
"exit": true
|
"exit": true,
|
||||||
|
"retries": 3
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue