small fix after ci run

This commit is contained in:
fbarbu15 2023-09-12 17:59:31 +03:00
parent 4683d246ea
commit 27ec0752f6
2 changed files with 5 additions and 6 deletions

View File

@ -84,13 +84,13 @@ jobs:
uses: ./.github/workflows/test-node.yml uses: ./.github/workflows/test-node.yml
with: with:
nim_wakunode_image: statusteam/go-waku:latest nim_wakunode_image: statusteam/go-waku:latest
test_type: go_waku_master test_type: go-waku-master
node_with_nwaku_master: node_with_nwaku_master:
uses: ./.github/workflows/test-node.yml uses: ./.github/workflows/test-node.yml
with: with:
nim_wakunode_image: statusteam/nim-waku:deploy-wakuv2-test nim_wakunode_image: statusteam/nim-waku:deploy-wakuv2-test
test_type: nwaku_master test_type: nwaku-master
maybe-release: maybe-release:
name: release name: release

View File

@ -13,8 +13,7 @@ on:
env: env:
NODE_JS: "18" NODE_JS: "18"
RETRY_ATTEMPTS: 3 RETRY_ATTEMPTS: 3
WAKU_SERVICE_NODE_PARAMS: ${{ (inputs.test_type == 'go_waku_master') && '--min-relay-peers-to-publish=0' || '' }} WAKU_SERVICE_NODE_PARAMS: ${{ (inputs.test_type == 'go-waku-master') && '--min-relay-peers-to-publish=0' || '' }}
DEBUG: ${{ (inputs.test_type == 'go_waku_master' || inputs.test_type == 'nwaku_master') && 'waku:nwaku*,waku:test*' || 'waku*' }}
jobs: jobs:
node: node:
@ -37,9 +36,9 @@ jobs:
- uses: Wandalen/wretry.action@master - uses: Wandalen/wretry.action@master
with: with:
attempt_limit: ${{ env.RETRY_ATTEMPTS }} attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: ${{ (inputs.test_type == 'node_optional') && 'npm run test:optional --workspace=@waku/tests' || 'npm run test:node' }} command: ${{ (inputs.test_type == 'node-optional') && 'npm run test:optional --workspace=@waku/tests' || 'npm run test:node' }}
with: | with: |
DEBUG: ${{ env.DEBUG }} DEBUG: ${{ (inputs.test_type == 'go-waku-master' || inputs.test_type == 'nwaku-master') && '"waku:nwaku*,waku:test*"' || "" }}
- name: Upload debug logs on failure - name: Upload debug logs on failure
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3