Skip to content

fix: 修复cmd窗口无法正常显示颜色 #84

fix: 修复cmd窗口无法正常显示颜色

fix: 修复cmd窗口无法正常显示颜色 #84

Workflow file for this run

name: Run unit test
on:
push:
paths:
- "src/**"
- "examples/**"
- ".github/workflows/ut.yml"
pull_request:
paths:
- "src/**"
- "examples/**"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install cargo components
run: cargo install cargo-tarpaulin miniserve
- name: Run tests
run: npm run rust:ut:xml
- name: Upload coverage reports
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./cobertura.xml