mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
ci: Update Python to 3.7.5 (#628)
This commit is contained in:
@@ -117,7 +117,7 @@ jobs:
|
|||||||
# Install Python at a fixed version
|
# Install Python at a fixed version
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: "3.7.4"
|
python-version: "3.7.5"
|
||||||
|
|
||||||
# Install dotnet at a fixed version
|
# Install dotnet at a fixed version
|
||||||
- uses: actions/setup-dotnet@v1
|
- uses: actions/setup-dotnet@v1
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@ RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-ins
|
|||||||
RUN ruby --version
|
RUN ruby --version
|
||||||
|
|
||||||
# Install Python
|
# Install Python
|
||||||
ENV PYTHON_VERSION 3.7.4
|
ENV PYTHON_VERSION 3.7.5
|
||||||
ENV PYENV_ROOT /home/nonroot/.pyenv
|
ENV PYENV_ROOT /home/nonroot/.pyenv
|
||||||
ENV PATH $PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH
|
ENV PATH $PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH
|
||||||
RUN curl https://pyenv.run | bash \
|
RUN curl https://pyenv.run | bash \
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ fn folder_with_python_version() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -35,7 +35,7 @@ fn folder_with_requirements_txt() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -52,7 +52,7 @@ fn folder_with_pyproject_toml() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -69,7 +69,7 @@ fn folder_with_pipfile() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -86,7 +86,7 @@ fn folder_with_tox() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -103,7 +103,7 @@ fn folder_with_py_file() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -120,7 +120,7 @@ fn with_virtual_env() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4 (my_venv)"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5 (my_venv)"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -137,7 +137,7 @@ fn with_active_venv() -> io::Result<()> {
|
|||||||
.output()?;
|
.output()?;
|
||||||
let actual = String::from_utf8(output.stdout).unwrap();
|
let actual = String::from_utf8(output.stdout).unwrap();
|
||||||
|
|
||||||
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.4 (my_venv)"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5 (my_venv)"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user