Skip to content

chore:add basic streaming tests (#600) #1469

chore:add basic streaming tests (#600)

chore:add basic streaming tests (#600) #1469

---
name: Run tests with coverage on code
on:
push:
branches:
- main
paths:
- '**.rs'
- '**.toml'
pull_request:
branches:
- main
paths:
- '**.rs'
- '**.toml'
jobs:
tarpaulin:
runs-on: ubuntu-latest
name: Run test coverage using Tarpaulin
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rust
run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
rustup show
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install required cargo packages for reporting test coverage
run: cargo install cargo-tarpaulin
- name: Run Tarpaulin (Reporting to coveralls)
run: |
cargo tarpaulin --all-features --coveralls ${{ secrets.COVERALLS_KEY }} --skip-clean