fix debug mismatch

This commit is contained in:
fbarbu15 2023-09-12 18:12:18 +03:00
parent 7fd6803ec1
commit 5b9935e118
1 changed files with 1 additions and 2 deletions

View File

@ -14,6 +14,7 @@ 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*' || '' }}
jobs: jobs:
node: node:
@ -37,8 +38,6 @@ jobs:
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: |
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