aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-02-03 18:04:43 +0100
committerJill <kokakiwi@deuxfleurs.fr>2022-02-10 17:55:50 +0100
commit5d19f3d2d73426749e6f7b69eea1dbf24fdedc6a (patch)
treee7c723b25ed01be138b718bebd335a2786f09557 /.drone.yml
parent084dcdbd3aadb8eb39ca19974623ae81d76456fc (diff)
downloadgarage-5d19f3d2d73426749e6f7b69eea1dbf24fdedc6a.tar.gz
garage-5d19f3d2d73426749e6f7b69eea1dbf24fdedc6a.zip
Add integration tests to Drone
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/.drone.yml b/.drone.yml
index ba2cada1..903be5b0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -48,8 +48,10 @@ steps:
commands:
- nix-build --no-build-output --option log-lines 100 --argstr target x86_64-unknown-linux-musl --arg release false --argstr git_version $DRONE_COMMIT
- - name: unit tests
+ - name: unit + func tests
image: nixpkgs/nix:nixos-21.05
+ environment:
+ GARAGE_TEST_INTEGRATION_EXE: result/bin/garage
volumes:
- name: nix_store
path: /nix
@@ -62,13 +64,14 @@ steps:
--option log-lines 100 \
--argstr target x86_64-unknown-linux-musl \
--argstr compileMode test
- - ./result*/bin/garage_api*
- - ./result*/bin/garage_model*
- - ./result*/bin/garage_rpc*
- - ./result*/bin/garage_table*
- - ./result*/bin/garage_util*
- - ./result*/bin/garage_web*
- - ./result*/bin/garage*
+ - ./result/bin/garage_api-*
+ - ./result/bin/garage_model-*
+ - ./result/bin/garage_rpc-*
+ - ./result/bin/garage_table-*
+ - ./result/bin/garage_util-*
+ - ./result/bin/garage_web-*
+ - ./result/bin/garage-*
+ - ./result/bin/integration-*
- name: smoke-test
image: nixpkgs/nix:nixos-21.05
@@ -470,6 +473,6 @@ node:
---
kind: signature
-hmac: 928ea1bb59f3ac19b5ddd2a184f17b7c728cc355877c34e61b3d1b421544d4c3
+hmac: 3fc19d6f9a3555519c8405e3281b2e74289bb802f644740d5481d53df3a01fa4
...