Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Shourya742 committed Oct 11, 2024
1 parent c888192 commit a550e17
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 54 deletions.
91 changes: 55 additions & 36 deletions .github/workflows/coverage-protocols.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,125 +36,144 @@ jobs:
- name: Upload binary_codec_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/binary_codec_sv2-coverage
file: ./protocols/target/tarpaulin-reports/binary_codec_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/codec-coverage
file: ./protocols/target/tarpaulin-reports/codec-coverage/cobertura.xml
flags: binary_codec_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload binary_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/binary_sv2-coverage
file: ./protocols/target/tarpaulin-reports/binary_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/binary-sv2-coverage
file: ./protocols/target/tarpaulin-reports/binary-sv2-coverage/cobertura.xml
flags: binary_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload binary_derive_codec_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/derive_codec-coverage
file: ./protocols/target/tarpaulin-reports/derive_codec-coverage/cobertura.xml
flags: binary_derive_codec_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload binary_serde_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/serde-sv2-coverage
file: ./protocols/target/tarpaulin-reports/serde-sv2-coverage/cobertura.xml
flags: binary_serde_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload codec_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/codec_sv2-coverage
file: ./protocols/target/tarpaulin-reports/codec_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/codec-sv2-coverage
file: ./protocols/target/tarpaulin-reports/codec-sv2-coverage/cobertura.xml
flags: codec_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload common_messages_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/common_messages_sv2-coverage
file: ./protocols/target/tarpaulin-reports/common_messages_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/common-messages-coverage
file: ./protocols/target/tarpaulin-reports/common-messages-coverage/cobertura.xml
flags: common_messages_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload const_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/const_sv2-coverage
file: ./protocols/target/tarpaulin-reports/const_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/const-sv2-coverage
file: ./protocols/target/tarpaulin-reports/const-sv2-coverage/cobertura.xml
flags: const_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload framing_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/framing_sv2-coverage
file: ./protocols/target/tarpaulin-reports/framing_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/framing-sv2-coverage
file: ./protocols/target/tarpaulin-reports/framing-sv2-coverage/cobertura.xml
flags: framing_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload job_declaration_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/job_declaration_sv2-coverage
file: ./protocols/target/tarpaulin-reports/job_declaration_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/job-declaration-coverage
file: ./protocols/target/tarpaulin-reports/job-declaration-coverage/cobertura.xml
flags: job_declaration_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload mining_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/mining_sv2-coverage
file: ./protocols/target/tarpaulin-reports/mining_sv2-coverage/cobertura.xml
flags: mining_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload noise_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/noise_sv2-coverage
file: ./protocols/target/tarpaulin-reports/noise_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/noise-sv2-coverage
file: ./protocols/target/tarpaulin-reports/noise-sv2-coverage/cobertura.xml
flags: noise_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload roles_logic_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/roles_logic_sv2-coverage
file: ./protocols/target/tarpaulin-reports/roles_logic_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/roles-logic-sv2-coverage
file: ./protocols/target/tarpaulin-reports/roles-logic-sv2-coverage/cobertura.xml
flags: roles_logic_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload serde_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/serde_sv2-coverage
file: ./protocols/target/tarpaulin-reports/serde_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/serde-sv2-coverage
file: ./protocols/target/tarpaulin-reports/serde-sv2-coverage/cobertura.xml
flags: serde_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload sv1_api-coverage to codecov.io
- name: Upload v1-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/sv1_api-coverage
file: ./protocols/target/tarpaulin-reports/sv1_api-coverage/cobertura.xml
flags: sv1_api-coverage
directory: ./protocols/target/tarpaulin-reports/v1-coverage
file: ./protocols/target/tarpaulin-reports/v1-coverage/cobertura.xml
flags: v1-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload sv2_ffi-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/sv2_ffi-coverage
file: ./protocols/target/tarpaulin-reports/sv2_ffi-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/sv2-ffi-coverage
file: ./protocols/target/tarpaulin-reports/sv2-ffi-coverage/cobertura.xml
flags: sv2_ffi-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload template_distribution_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/template_distribution_sv2-coverage
file: ./protocols/target/tarpaulin-reports/template_distribution_sv2-coverage/cobertura.xml
directory: ./protocols/target/tarpaulin-reports/template-distribution-coverage
file: ./protocols/target/tarpaulin-reports/template-distribution-coverage/cobertura.xml
flags: template_distribution_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload mining-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./protocols/target/tarpaulin-reports/mining-coverage
file: ./protocols/target/tarpaulin-reports/mining-coverage/cobertura.xml
flags: mining-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
24 changes: 12 additions & 12 deletions .github/workflows/coverage-roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,44 +36,44 @@ jobs:
- name: Upload jd_client-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./roles/target/tarpaulin-reports/jd_client-coverage
file: ./roles/target/tarpaulin-reports/jd_client-coverage/cobertura.xml
directory: ./roles/target/tarpaulin-reports/jd-client-coverage
file: ./roles/target/tarpaulin-reports/jd-client-coverage/cobertura.xml
flags: jd_client-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload jd_server-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./roles/target/tarpaulin-reports/jd_server-coverage
file: ./roles/target/tarpaulin-reports/jd_server-coverage/cobertura.xml
directory: ./roles/target/tarpaulin-reports/jd-server-coverage
file: ./roles/target/tarpaulin-reports/jd-server-coverage/cobertura.xml
flags: jd_server-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload mining_device-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./roles/target/tarpaulin-reports/mining_device-coverage
file: ./rroles/target/tarpaulin-reports/mining_device-coverage/cobertura.xml
directory: ./roles/target/tarpaulin-reports/mining-device-coverage
file: ./rroles/target/tarpaulin-reports/mining-device-coverage/cobertura.xml
flags: mining_device-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload mining_proxy_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./roles/target/tarpaulin-reports/mining_proxy_sv2-coverage
file: ./roles/target/tarpaulin-reports/mining_proxy_sv2-coverage/cobertura.xml
directory: ./roles/target/tarpaulin-reports/mining-proxy-coverage
file: ./roles/target/tarpaulin-reports/mining-proxy-coverage/cobertura.xml
flags: mining_proxy_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload pool_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./roles/target/tarpaulin-reports/pool_sv2-coverage
file: ./roles/target/tarpaulin-reports/pool_sv2-coverage/cobertura.xml
directory: ./roles/target/tarpaulin-reports/pool-coverage
file: ./roles/target/tarpaulin-reports/pool-coverage/cobertura.xml
flags: pool_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -90,8 +90,8 @@ jobs:
- name: Upload translator_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./roles/target/tarpaulin-reports/translator_sv2-coverage
file: ./roles/target/tarpaulin-reports/translator_sv2-coverage/cobertura.xml
directory: ./roles/target/tarpaulin-reports/translator-coverage
file: ./roles/target/tarpaulin-reports/translator-coverage/cobertura.xml
flags: translator_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
12 changes: 6 additions & 6 deletions .github/workflows/coverage-utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,26 @@ jobs:
- name: Upload bip32_derivation-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./utils/target/tarpaulin-reports/bip32_derivation-coverage
file: ./utils/target/tarpaulin-reports/bip32_derivation-coverage/cobertura.xml
directory: ./utils/target/tarpaulin-reports/bip32-key-derivation-coverage
file: ./utils/target/tarpaulin-reports/bip32-key-derivation-coverage/cobertura.xml
flags: bip32_derivation-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload buffer_sv2-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./utils/target/tarpaulin-reports/buffer_sv2-coverage
file: ./utils/target/tarpaulin-reports/buffer_sv2-coverage/cobertura.xml
directory: ./utils/target/tarpaulin-reports/buffer-coverage
file: ./utils/target/tarpaulin-reports/buffer-coverage/cobertura.xml
flags: buffer_sv2-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload error_handling-coverage to codecov.io
uses: codecov/codecov-action@v4
with:
directory: ./utils/target/tarpaulin-reports/error_handling-coverage
file: ./utils/target/tarpaulin-reports/error_handling-coverage/cobertura.xml
directory: ./utils/target/tarpaulin-reports/error-handling-coverage
file: ./utils/target/tarpaulin-reports/error-handling-coverage/cobertura.xml
flags: error_handling-coverage
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit a550e17

Please sign in to comment.