Skip to content

Commit

Permalink
test(commitizen): add test for commitizen
Browse files Browse the repository at this point in the history
  • Loading branch information
davejames committed Oct 5, 2024
1 parent 0aecc1e commit 8d3b39a
Show file tree
Hide file tree
Showing 4 changed files with 467 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/commitizen/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ poetry2nix, python310, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
python = python310;
};
in
runCommand "commitizen-test" { } ''
${env}/bin/cz ls | grep -q "cz_gitmoji" || exit 1
touch $out
''
Loading

0 comments on commit 8d3b39a

Please sign in to comment.