Skip to content

Commit

Permalink
Annotate tests needing docker with docker flag
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Dec 15, 2023
1 parent eb6f3fd commit c0d30c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/tests/test_singularity_cmd.bats
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ cd "$BATS_TEST_DIRNAME"
git annex get "$arg_test_img"


# bats test_tags=docker
@test "verifying arguments passed to singularity_cmd Docker shim" {
pull_singularity_shim

Expand All @@ -43,22 +44,26 @@ git annex get "$arg_test_img"
}


# bats test_tags=docker
@test "verifying ability to singularity exec under /tmp subdir" {
skip_if_travis_osx "skipping Singularity directory test on Travis OSX"
check_subdir "$(_mktemp_dir_under /tmp)"
}

# bats test_tags=docker
@test "verifying ability to singularity exec under /tmp subdir (explicit use of docker)" {
skip_if_travis_osx "skipping Singularity directory test on Travis OSX"
export REPRONIM_USE_DOCKER=1
check_subdir "$(_mktemp_dir_under /tmp)"
}

# bats test_tags=docker
@test "verifying ability to singularity exec under $HOME subdir" {
skip_if_travis_osx "skipping Singularity directory test on Travis OSX"
check_subdir "$(_mktemp_dir_under $HOME)"
}

# bats test_tags=docker
@test "verifying ability to singularity exec under $HOME subdir (explicit use of docker)" {
skip_if_travis_osx "skipping Singularity directory test on Travis OSX"
export REPRONIM_USE_DOCKER=1
Expand Down

0 comments on commit c0d30c9

Please sign in to comment.