diff --git a/.github/workflows/acceptance-public.yml b/.github/workflows/acceptance-public.yml index 88292ca4fc..19d43e7c76 100644 --- a/.github/workflows/acceptance-public.yml +++ b/.github/workflows/acceptance-public.yml @@ -31,6 +31,7 @@ jobs: maxAttempts: 1 secrets: operator_key: ${{ inputs.operator_key }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} publish_results: name: Publish Results diff --git a/.github/workflows/acceptance-workflow.yml b/.github/workflows/acceptance-workflow.yml index 6711c55de3..3099d58816 100644 --- a/.github/workflows/acceptance-workflow.yml +++ b/.github/workflows/acceptance-workflow.yml @@ -34,6 +34,10 @@ on: operator_key: description: 'The ED25519, ECDSA, or DER encoded private key of the operator' required: false + CODECOV_TOKEN: + description: 'Codecov upload token' + required: true + env: OPERATOR_ID_MAIN: ${{ inputs.operator_id }} diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 7848781134..057dd4761a 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -17,24 +17,33 @@ jobs: uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: api_batch1 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} api_batch_2: name: API Batch 2 uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: api_batch2 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + api_batch_3: name: API Batch 3 uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: api_batch3 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} erc20: name: ERC20 uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: erc20 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} ratelimiter: name: Rate Limiter @@ -42,48 +51,64 @@ jobs: with: testfilter: ratelimiter test_ws_server: true + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} hbarlimiter_batch_1: name: HBar Limiter Batch 1 uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: hbarlimiter_batch1 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} hbarlimiter_batch_2: name: HBar Limiter Batch 2 uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: hbarlimiter_batch2 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} hbarlimiter_batch_3: name: HBar Limiter Batch 3 uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: hbarlimiter_batch3 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} tokencreate: name: Token Create uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: tokencreate + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} tokenmanagement: name: Token Management uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: tokenmanagement + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} htsprecompilev1: name: Precompile uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: htsprecompilev1 + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} precompilecalls: name: Precompile Calls uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: precompile-calls + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} websocket-batch-1: name: Websocket Batch 1 @@ -91,6 +116,8 @@ jobs: with: testfilter: ws_batch1 test_ws_server: true + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} websocket-batch-2: name: Websocket Batch 2 @@ -98,6 +125,8 @@ jobs: with: testfilter: ws_batch2 test_ws_server: true + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} websocket-batch-3: name: Websocket Batch 3 @@ -105,18 +134,24 @@ jobs: with: testfilter: ws_batch3 test_ws_server: true + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} cacheservice: name: Cache Service uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: cache-service + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} server-config: name: Server Config uses: ./.github/workflows/acceptance-workflow.yml with: testfilter: serverconfig + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} publish_results: name: Publish Results diff --git a/.github/workflows/manual-testing.yml b/.github/workflows/manual-testing.yml index 2af2e63364..8bc95f93cf 100644 --- a/.github/workflows/manual-testing.yml +++ b/.github/workflows/manual-testing.yml @@ -26,6 +26,8 @@ jobs: testfilter: api_batch1 networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} api_batch_2: name: API Batch 2 @@ -34,6 +36,8 @@ jobs: testfilter: api_batch2 networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} api_batch_3: name: API Batch 3 @@ -42,6 +46,8 @@ jobs: testfilter: api_batch3 networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} erc20: name: ERC20 @@ -50,6 +56,8 @@ jobs: testfilter: erc20 networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} ratelimiter: name: Rate Limiter @@ -59,6 +67,8 @@ jobs: test_ws_server: true networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} hbarlimiter: name: HBar Limiter @@ -67,6 +77,8 @@ jobs: testfilter: hbarlimiter networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} tokencreate: name: Token Create @@ -75,6 +87,8 @@ jobs: testfilter: tokencreate networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} tokenmanagement: name: Token Management @@ -83,6 +97,8 @@ jobs: testfilter: tokenmanagement networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} htsprecompilev1: name: Precompile @@ -91,6 +107,8 @@ jobs: testfilter: htsprecompilev1 networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} precompilecalls: name: Precompile Calls @@ -99,6 +117,8 @@ jobs: testfilter: precompile-calls networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} websocket-batch-1: name: Websocket Batch 1 @@ -108,6 +128,8 @@ jobs: test_ws_server: true networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} websocket-batch-2: name: Websocket Batch 2 @@ -117,6 +139,8 @@ jobs: test_ws_server: true networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} websocket-batch-3: name: Websocket Batch 3 @@ -126,6 +150,8 @@ jobs: test_ws_server: true networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} cacheservice: name: Cache Service @@ -134,6 +160,8 @@ jobs: testfilter: cache-service networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} server-config: name: Server Config @@ -142,6 +170,8 @@ jobs: testfilter: serverconfig networkTag: ${{inputs.networkNodeTag}} mirrorTag: ${{inputs.mirrorNodeTag}} + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} publish_results: name: Publish Results