fix: Macro crate does not depend on primary crate. (#17) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: coverage | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install tarpaulin. | |
run: cargo install cargo-tarpaulin | |
- name: Generate code coverage | |
run: | | |
cargo tarpaulin --verbose --out xml --engine llvm | |
env: | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
- name: Upload to codecov.io | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: lukesneeringer/unix-ts | |
fail_ci_if_error: true |