mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-18 10:45:51 +00:00
34 lines
784 B
YAML
34 lines
784 B
YAML
name: Upload report
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
secrets:
|
|
CODECOV_TOKEN:
|
|
required: true
|
|
|
|
jobs:
|
|
upload_report:
|
|
name: Upload report
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Download report artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: coverage-report.xml
|
|
path: build
|
|
|
|
- name: Upload coverage report
|
|
if: ${{ hashFiles('build/coverage_report.xml') != '' }}
|
|
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
|
|
with:
|
|
files: build/coverage_report.xml
|
|
fail_ci_if_error: true
|
|
verbose: true
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|