diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e5c56bcbf..ef048e1bbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,12 +194,23 @@ jobs: - name: Install Rust toolchains run: rustup toolchain install stable + - name: Install Tarpaulin (for code coverage) + run: cargo install cargo-tarpaulin + - name: Run the tests - run: cargo test --verbose + run: cargo tarpaulin --out lcov --output-dir coverage - name: Lint formatting run: cargo fmt --all -- --check + - name: Coveralls GitHub Action + uses: coverallsapp/github-action@v1 + with: + base-path: ./rust + path-to-lcov: ./rust/coverage/lcov.info + flag-name: rust-backend + parallel: true + integration-tests: timeout-minutes: 60 runs-on: ubuntu-latest