serokell / coffer

Multi-backend password store with multiple frontends
4 stars 2 forks source link

[#26] Run bats tests in pipeline #57

Closed dcastro closed 2 years ago

dcastro commented 2 years ago

Description

Problem: we have golden tests for the coffer CLI written in bats, but we're not running them on the pipeline yet.

Solution: Add a step to the buildkite script to run the golden tests via nix.

Related issue(s)

Resolves part of #26

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Stylistic guide (mandatory)

dcastro commented 2 years ago

Logs of a successful run: https://buildkite.com/serokell/coffer/builds/85#9950329d-39dd-4764-b46e-80d5d7fc5526

MagicRB commented 2 years ago

LFTM (Looks Functional To Me) - I'd have done it a bit differently (only using flakes) but that'll work too