Skip to content

deps(hsh): updating dependencies #141

deps(hsh): updating dependencies

deps(hsh): updating dependencies #141

Workflow file for this run

name: 🧪 Test
on: [push, pull_request]
jobs:
all:
# Run tests on Linux
name: Test
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@v1
- uses: actions/checkout@master
- name: Run tests
run: cargo test --verbose --workspace
- name: Run tests with all features
run: cargo test --verbose --workspace --all-features
# Install grcov
- name: Install grcov
run: |
mkdir -p "${HOME}/.local/bin"
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.18/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
# Use grcov to generate a coverage report
- name: Generate coverage report
id: coverage
uses: actions-rs/cargo@v1
with:
command: xtask
args: coverage
# Upload the coverage report to codecov
- name: Upload coverage report to codecov
id: codecov
uses: codecov/codecov-action@v3
with:
files: coverage/*.lcov