Skip to content

Commit

Permalink
Uploading firmware coverage report to S3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelzon committed Dec 12, 2023
1 parent afb0680 commit 58aa3d4
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ jobs:
SOURCE_DIR: middleware/coverage
DEST_DIR: middleware_coverage_report

# - name: Run firmware coverage script
# run: ledger/coverage/gen-coverage

# - name: "Upload firmware coverage report"
# uses: actions/upload-artifact@v3
# with:
# name: firmware_coverage_report
# path: ledger/coverage/output
- name: Run firmware coverage script
run: ledger/coverage/gen-coverage

- name: "Upload firmware coverage report"
uses: jakejarvis/s3-sync-action@7ed8b112447abb09f1da74f3466e4194fc7a6311
with:
args: --sse aws:kms --sse-kms-key-id ${{ secrets.CODECOVERAGE_KMS_KEY_ID }} --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.CODECOVERAGE_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.CODECOVERAGE_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CODECOVERAGE_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1
SOURCE_DIR: ledger/coverage/output
DEST_DIR: firmware_coverage_report

0 comments on commit 58aa3d4

Please sign in to comment.