diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 3126e805..381532ee 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -23,11 +23,10 @@ jobs: toolchain: stable override: true - - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 - with: - version: '0.19.1' - args: '--exclude-files *_test.rs *tests* *experiments*' + - name: Generate code coverage + run: | + cargo install --features vendored-openssl cargo-tarpaulin + cargo tarpaulin --exclude-files *_test.rs *tests* *experiments* --out xml - name: Upload to codecov.io uses: codecov/codecov-action@v1.0.2 diff --git a/experiments/heuristic-research/Cargo.toml b/experiments/heuristic-research/Cargo.toml index b80cdf8f..cbb125e8 100644 --- a/experiments/heuristic-research/Cargo.toml +++ b/experiments/heuristic-research/Cargo.toml @@ -23,7 +23,8 @@ serde.workspace = true serde_json.workspace = true lazy_static.workspace = true -plotters = "0.3.7" +# added features as it fails to compile without them on github CI +plotters = { version = "0.3.7", features = ["ab_glyph", "fontconfig-dlopen"] } plotters-canvas = "0.3.0" itertools = "0.14.0" wasm-bindgen = "0.2.99"