Skip to content

fix: llvm-cov export data deserialization #23

fix: llvm-cov export data deserialization

fix: llvm-cov export data deserialization #23

on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
jobs:
rerun-dirty-tests-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy, llvm-tools-preview
- name: Install binutils
run: cargo install cargo-binutils
- name: Set old commit (push)
if: ${{ github.event.before != null }}
run: echo "OLD_COMMIT=${{ github.event.before }}" >> $GITHUB_ENV
- name: Set old commit (pull_request)
if: ${{ github.event.pull_request.base.sha != null }}
run: echo "OLD_COMMIT=${{ github.event.pull_request.base.sha }}" >> $GITHUB_ENV
- name: Print old commit
run: echo $OLD_COMMIT
- name: Rerun dirty tests
uses: dnbln/cargo-difftests-rerun-dirty-action@d4cd2fcb92a5a3df9c2e830e632631a861bee86c
with:
commit-to-diff-with: ${{ env.OLD_COMMIT }}
index-root: indexes
cargo-difftests-crate-path: cargo-difftests
env:
CARGO_DIFFTESTS_LOG: warn
CARGO_DIFFTESTS_EXTRA_ARGS: "--compile-index,--and-clean,--index-root=indexes,--bin=target/debug/cargo-difftests,--flatten-files-to=repo-root"