Change CI to run tests
This commit is contained in:
parent
12928b832c
commit
b45b02b37e
|
@ -17,5 +17,5 @@ before_install:
|
||||||
install: true
|
install: true
|
||||||
script:
|
script:
|
||||||
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint
|
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint
|
||||||
- cargo build --features "sqlite"
|
- cargo test --features "sqlite"
|
||||||
- cargo build --features "mysql"
|
- cargo test --features "mysql"
|
||||||
|
|
|
@ -18,8 +18,8 @@ steps:
|
||||||
cargo -V
|
cargo -V
|
||||||
displayName: Query rust and cargo versions
|
displayName: Query rust and cargo versions
|
||||||
|
|
||||||
- script : cargo build --features "sqlite"
|
- script : cargo test --features "sqlite"
|
||||||
displayName: 'Build project with sqlite backend'
|
displayName: 'Test project with sqlite backend'
|
||||||
|
|
||||||
- script : cargo build --features "mysql"
|
- script : cargo test --features "mysql"
|
||||||
displayName: 'Build project with mysql backend'
|
displayName: 'Test project with mysql backend'
|
||||||
|
|
Loading…
Reference in New Issue