Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Pass CODECOV_TOKEN to acceptance workflow #3299

1 change: 1 addition & 0 deletions .github/workflows/acceptance-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
maxAttempts: 1
secrets:
operator_key: ${{ inputs.operator_key }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish_results:
name: Publish Results
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/acceptance-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,58 @@ 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
uses: ./.github/workflows/acceptance-workflow.yml
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
Expand All @@ -66,57 +81,75 @@ jobs:
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
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: ws_batch1
test_ws_server: true
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

websocket-batch-2:
name: Websocket Batch 2
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: ws_batch2
test_ws_server: true
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

websocket-batch-3:
name: Websocket Batch 3
uses: ./.github/workflows/acceptance-workflow.yml
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
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/manual-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -42,6 +46,8 @@ jobs:
testfilter: api_batch3
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

erc20:
name: ERC20
Expand All @@ -50,6 +56,8 @@ jobs:
testfilter: erc20
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

ratelimiter:
name: Rate Limiter
Expand All @@ -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
Expand All @@ -67,6 +77,8 @@ jobs:
testfilter: hbarlimiter
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

tokencreate:
name: Token Create
Expand All @@ -75,6 +87,8 @@ jobs:
testfilter: tokencreate
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

tokenmanagement:
name: Token Management
Expand All @@ -83,6 +97,8 @@ jobs:
testfilter: tokenmanagement
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

htsprecompilev1:
name: Precompile
Expand All @@ -91,6 +107,8 @@ jobs:
testfilter: htsprecompilev1
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

precompilecalls:
name: Precompile Calls
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -142,6 +170,8 @@ jobs:
testfilter: serverconfig
networkTag: ${{inputs.networkNodeTag}}
mirrorTag: ${{inputs.mirrorNodeTag}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish_results:
name: Publish Results
Expand Down
Loading