40 structure names are missing if fields are named in cyrillic (#41) #12
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: Xml Schema Generator Tests | |
on: [push] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test-wasm: | |
name: Test Wasm | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run tests | |
run: | | |
cd wasm | |
cargo test | |
fmt-wasm: | |
name: Rustfmt Wasm | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- name: Enforce formatting | |
run: | | |
cd wasm | |
cargo fmt --check | |
clippy-wasm: | |
name: Clippy Wasm | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: Linting | |
run: | | |
cd wasm | |
cargo clippy -- -D warnings | |
coverage-wasm: | |
name: Code coverage Wasm | |
runs-on: ubuntu-latest | |
container: | |
image: xd009642/tarpaulin | |
options: --security-opt seccomp=unconfined | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Generate code coverage | |
run: | | |
cd wasm | |
cargo tarpaulin --verbose --workspace --fail-under 75 |