Files
vscode/build/azure-pipelines/cli/test.yml
2022-10-12 17:05:41 -07:00

22 lines
492 B
YAML

parameters:
- name: VSCODE_CLI_TARGETS
default: []
type: object
- name: VSCODE_CLI_RUST_CHANNEL
type: string
default: stable
steps:
- template: ./install-rust-posix.yml
parameters:
targets: []
channel: ${{ parameters.VSCODE_CLI_RUST_CHANNEL }}
- script: rustup component add clippy && cargo clippy -- -D warnings
workingDirectory: cli
displayName: Clippy lint
- script: cargo test
workingDirectory: cli
displayName: Run unit tests