diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-02-03 18:04:43 +0100 |
---|---|---|
committer | Jill <kokakiwi@deuxfleurs.fr> | 2022-02-10 17:55:50 +0100 |
commit | 5d19f3d2d73426749e6f7b69eea1dbf24fdedc6a (patch) | |
tree | e7c723b25ed01be138b718bebd335a2786f09557 /.drone.yml | |
parent | 084dcdbd3aadb8eb39ca19974623ae81d76456fc (diff) | |
download | garage-5d19f3d2d73426749e6f7b69eea1dbf24fdedc6a.tar.gz garage-5d19f3d2d73426749e6f7b69eea1dbf24fdedc6a.zip |
Add integration tests to Drone
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -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 ... |