ci: Update Python to 3.8.2 (#1181)
This commit is contained in:
parent
ee63a4fa32
commit
a3e12a1112
|
@ -119,7 +119,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.6"
|
python-version: "3.8.2"
|
||||||
|
|
||||||
# Install dotnet at a fixed version
|
# Install dotnet at a fixed version
|
||||||
- uses: actions/setup-dotnet@v1
|
- uses: actions/setup-dotnet@v1
|
||||||
|
|
|
@ -32,7 +32,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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,7 @@ fn folder_with_setup_py() -> 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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ fn folder_with_init_py() -> 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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
@ -151,7 +151,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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,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.6 (my_venv)"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2 (my_venv)"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -185,7 +185,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.6 (my_venv)"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2 (my_venv)"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
dir.close()
|
dir.close()
|
||||||
}
|
}
|
||||||
|
@ -226,7 +226,7 @@ fn disabled_scan_for_pyfiles_and_folder_with_setup_py() -> 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.6"));
|
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.8.2"));
|
||||||
assert_eq!(expected, actual);
|
assert_eq!(expected, actual);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue