diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9345e3cea..e5089e39c2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -203,39 +203,6 @@ jobs: publish-version: ${{ env.PUBLISH_VERSION }} url-docker-registry: ${{ env.URL_DOCKER_REGISTRY }} -# ########################################################################################## -# ############################### CODECOV ########################################### - - code-coverage-aries-vcx-integration-modular-libs: - needs: workflow-setup - if: ${{ needs.workflow-setup.outputs.SKIP_CI != 'true' }} - runs-on: ubuntu-20.04 - steps: - - name: "Git checkout" - uses: actions/checkout@v3 - - name: "Setup rust codecov environment" - uses: ./.github/actions/setup-codecov-rust - - name: "Run workspace tests: modular libs profile" - run: | - RUSTFLAGS='-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' \ - RUSTDOCFLAGS='-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' \ - RUST_TEST_THREADS=1 CARGO_INCREMENTAL=0 TEST_POOL_IP=127.0.0.1 cargo test --package aries_vcx -F vdrtools_wallet credx -- --ignored; - - mkdir -p /tmp/artifacts/coverage - grcov ./target/debug/ -s . -t lcov --llvm --branch --ignore-not-existing -o /tmp/artifacts/coverage/coverage.lcov - - name: "Upload coverage to Codecov" - uses: codecov/codecov-action@v2 - with: - directory: /tmp/artifacts/coverage - flags: unittests-aries-vcx - name: codecov-unit-aries-vcx - fail_ci_if_error: true - path_to_write_report: /tmp/artifacts/coverage/codecov_report.gz - - uses: actions/upload-artifact@v3 - with: - name: code-coverage-report-unit-aries-vcx - path: /tmp/artifacts/coverage - ########################################################################################## ############################### TESTING ###########################################