mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #884 from pyenv/ci-workaround-v1.0.10
Workaround for CI failures with versions with multiple digits
This commit is contained in:
commit
eef042ad89
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ git_commit() {
|
||||||
assert [ ! -e "$PYENV_ROOT" ]
|
assert [ ! -e "$PYENV_ROOT" ]
|
||||||
run pyenv---version
|
run pyenv---version
|
||||||
assert_success
|
assert_success
|
||||||
[[ $output == "pyenv "?.?.? ]]
|
[[ $output == "pyenv "?.?.* ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "doesn't read version from non-pyenv repo" {
|
@test "doesn't read version from non-pyenv repo" {
|
||||||
|
@ -30,7 +30,7 @@ git_commit() {
|
||||||
|
|
||||||
run pyenv---version
|
run pyenv---version
|
||||||
assert_success
|
assert_success
|
||||||
[[ $output == "pyenv "?.?.? ]]
|
[[ $output == "pyenv "?.?.* ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "reads version from git repo" {
|
@test "reads version from git repo" {
|
||||||
|
@ -51,5 +51,5 @@ git_commit() {
|
||||||
git_commit
|
git_commit
|
||||||
|
|
||||||
run pyenv---version
|
run pyenv---version
|
||||||
[[ $output == "pyenv "?.?.? ]]
|
[[ $output == "pyenv "?.?.* ]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue