Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
pskrbasu committed Jan 7, 2025
1 parent 3cd0702 commit 46b1931
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/acceptance/test_files/mod_install.bats
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@ top_level.benchmark.bm_version_dependency_mod_1,Benchmark version dependency mod
top_level.benchmark.bm_version_dependency_mod_2,Benchmark version dependency mod 2,,dependency_2.control.version,,,3.0,3.0,ok,'
}

@test "install mod from GitLab" {
run powerpipe mod install https://gitlab.com/puskar3/powerpipe-mod-test
assert_output --partial '
Installed 1 mod:
local
└── gitlab.com/puskar3/[email protected]'
}

function teardown() {
rm -rf .powerpipe/
rm -rf .mod.cache.json
Expand Down

0 comments on commit 46b1931

Please sign in to comment.