diff --git a/.woodpecker/debug.yaml b/.woodpecker/debug.yaml index b2e8b090..b6603bc3 100644 --- a/.woodpecker/debug.yaml +++ b/.woodpecker/debug.yaml @@ -8,7 +8,7 @@ when: - manual steps: - - name: check formatting + - name: fmt image: nixpkgs/nix:nixos-22.05 commands: - nix-shell --attr devShell --run "cargo fmt -- --check" @@ -18,18 +18,19 @@ steps: commands: - nix-build -j4 --attr flakePackages.dev - - name: unit + func tests + - name: unit + func tests (lmdb) image: nixpkgs/nix:nixos-22.05 - environment: - GARAGE_TEST_INTEGRATION_EXE: result-bin/bin/garage - GARAGE_TEST_INTEGRATION_PATH: tmp-garage-integration commands: - nix-build -j4 --attr flakePackages.tests-lmdb + + - name: unit + func tests (sqlite) + image: nixpkgs/nix:nixos-22.05 + commands: - nix-build -j4 --attr flakePackages.tests-sqlite - - rm result - name: integration tests image: nixpkgs/nix:nixos-22.05 commands: - nix-build -j4 --attr flakePackages.dev - nix-shell --attr ci --run ./script/test-smoke.sh || (cat /tmp/garage.log; false) + depends_on: [ build ]