espanso/ci/test.yml
2019-09-21 13:46:00 +02:00

16 lines
366 B
YAML

parameters:
rust_version: stable
steps:
- template: install-rust.yml
- script: |
set -e
cargo test --release
displayName: Cargo tests on Unix
condition: not(eq(variables['Agent.OS'], 'Windows_NT'))
- script: |
cargo test --release
displayName: Cargo tests on Windows
condition: eq(variables['Agent.OS'], 'Windows_NT')