mirror of
https://github.com/kazhala/dotbare
synced 2024-11-02 09:40:27 +00:00
14 lines
266 B
Bash
Executable File
14 lines
266 B
Bash
Executable File
#!/usr/bin/env bats
|
|
|
|
# inital setup in CI/CD pipeline
|
|
|
|
migrate() {
|
|
bash "${BATS_TEST_DIRNAME}"/../dotbare finit -u https://github.com/kazhala/dotfiles.git
|
|
}
|
|
|
|
@test "set up test environment" {
|
|
[[ -d "${DOTBARE_DIR}" ]] && skip
|
|
migrate
|
|
[ "${status}" -eq 0 ]
|
|
}
|