geforkt von mirrored/vaultwarden
Change CI to run tests
Dieser Commit ist enthalten in:
Ursprung
12928b832c
Commit
b45b02b37e
2 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
|
@ -17,5 +17,5 @@ before_install:
|
|||
install: true
|
||||
script:
|
||||
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint
|
||||
- cargo build --features "sqlite"
|
||||
- cargo build --features "mysql"
|
||||
- cargo test --features "sqlite"
|
||||
- cargo test --features "mysql"
|
||||
|
|
|
@ -18,8 +18,8 @@ steps:
|
|||
cargo -V
|
||||
displayName: Query rust and cargo versions
|
||||
|
||||
- script : cargo build --features "sqlite"
|
||||
displayName: 'Build project with sqlite backend'
|
||||
- script : cargo test --features "sqlite"
|
||||
displayName: 'Test project with sqlite backend'
|
||||
|
||||
- script : cargo build --features "mysql"
|
||||
displayName: 'Build project with mysql backend'
|
||||
- script : cargo test --features "mysql"
|
||||
displayName: 'Test project with mysql backend'
|
||||
|
|
Laden …
In neuem Issue referenzieren