diff --git a/.github/workflows/iroha2-dev-pr.yml b/.github/workflows/iroha2-dev-pr.yml index b78ede1a64a..a76c364aced 100644 --- a/.github/workflows/iroha2-dev-pr.yml +++ b/.github/workflows/iroha2-dev-pr.yml @@ -62,32 +62,20 @@ jobs: mold --run cargo llvm-cov --no-report --ignore-filename-regex main.rs --all-features --workspace --no-fail-fast - name: Generate lcov report run: | - # generate report without tests - # https://github.com/taiki-e/cargo-llvm-cov#merge-coverages-generated-under-different-test-conditions mold --run cargo llvm-cov --doctests --no-run --all-features --workspace --lcov --output-path lcov.info + - name: Remove Specified Directories from Coverage Report + run: | + lcov --remove lcov.info 'client_cli/pytests/*' -o lcov_filtered.info - name: Upload coverage to coveralls.io uses: coverallsapp/github-action@v2 with: - file: lcov.info + file: lcov_filtered.info compare-ref: ${{ github.base_ref }} compare-sha: ${{ github.event.pull_request.base.sha}} github-token: ${{ secrets.GITHUB_TOKEN }} allow-empty: true fail_ci_if_error: true - integration: - runs-on: [self-hosted, Linux, iroha2ci] - container: - image: hyperledger/iroha2-ci:nightly-2023-06-25 - timeout-minutes: 30 - steps: - - uses: actions/checkout@v3 - - uses: Swatinem/rust-cache@v2 - - name: Run tests, with no-default-features - run: | - mold --run cargo test --test mod --no-default-features -- \ - integration:: --skip unstable_network - unstable: runs-on: [self-hosted, Linux, iroha2ci] container: