Skip to content

Commit

Permalink
ci: Test how to pass the codecov token
Browse files Browse the repository at this point in the history
Signed-off-by: Mihail Mihov <[email protected]>
  • Loading branch information
mishomihov00 committed Nov 26, 2024
1 parent c978b1f commit c06d8da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 7 additions & 3 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 All @@ -42,9 +46,9 @@ jobs:
acceptance-workflow:
runs-on: smart-contracts-linux-large
timeout-minutes: 50
permissions: write-all
# contents: read
# checks: write
permissions:
contents: read
checks: write
env:
OPERATOR_ID_MAIN: ${{ inputs.operator_id }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
uses: ./.github/workflows/acceptance-workflow.yml
with:
testfilter: api_batch1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

api_batch_2:
name: API Batch 2
Expand Down

0 comments on commit c06d8da

Please sign in to comment.