diff --git a/.github/workflows/general_build.yml b/.github/workflows/general_build.yml index b2e9cf6..a440205 100644 --- a/.github/workflows/general_build.yml +++ b/.github/workflows/general_build.yml @@ -42,33 +42,33 @@ jobs: - name: Generate documentation run: cargo doc --no-deps --document-private-items - code_coverage: - needs: build - runs-on: ubuntu-latest - if: github.event_name == 'push' || github.event_name == 'pull_request' - steps: - - uses: actions/checkout@v3 - - - name: Install dependencies - run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc - # Install tarpaulin, a Rust coverage tool - - name: Install cargo-tarpaulin - run: cargo install cargo-tarpaulin - - # Run tarpaulin to generate coverage report - - name: Run coverage - run: cargo tarpaulin --out Xml - - # Upload coverage report to Codecov - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - files: ./cobertura.xml # Specify the report generated by tarpaulin - fail_ci_if_error: true - verbose: true - - # Display coverage in GitHub PR - - name: Coverage badge - run: | - curl -s https://codecov.io/gh/${{ github.repository }}/branch/${{ github.ref_name }}/graph/badge.svg \ - -o coverage-badge.svg \ No newline at end of file +# code_coverage: +# needs: build +# runs-on: ubuntu-latest +# if: github.event_name == 'push' || github.event_name == 'pull_request' +# steps: +# - uses: actions/checkout@v3 +# +# - name: Install dependencies +# run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc +# # Install tarpaulin, a Rust coverage tool +# - name: Install cargo-tarpaulin +# run: cargo install cargo-tarpaulin +# +# # Run tarpaulin to generate coverage report +# - name: Run coverage +# run: cargo tarpaulin --out Xml +# +# # Upload coverage report to Codecov +# - name: Upload coverage to Codecov +# uses: codecov/codecov-action@v3 +# with: +# files: ./cobertura.xml # Specify the report generated by tarpaulin +# fail_ci_if_error: true +# verbose: true +# +# # Display coverage in GitHub PR +# - name: Coverage badge +# run: | +# curl -s https://codecov.io/gh/${{ github.repository }}/branch/${{ github.ref_name }}/graph/badge.svg \ +# -o coverage-badge.svg \ No newline at end of file