Skip to content

Run unit test

Run unit test #43

Workflow file for this run

name: Run unit test
on:
push:
paths:
- "src/**"
- "examples/**"
pull_request:
paths:
- "src/**"
- "examples/**"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
override: true
components: tarpaulin
- uses: Swatinem/[email protected]
- name: Build
run: cargo build
- name: Run tests
run: npm run rust:ut:xml
- name: Code Coverage Summary
uses: irongut/[email protected]
with:
filename: cobertura.xml