mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Use 3.13 in CI (#8014)
This commit is contained in:
parent
7a247a6533
commit
55502842c0
3 changed files with 24 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -279,6 +279,7 @@ jobs:
|
|||
3.10
|
||||
3.11
|
||||
3.12
|
||||
3.13
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
3.13.0
|
||||
3.12.6
|
||||
3.11.10
|
||||
3.10.15
|
||||
|
|
|
@ -50,6 +50,28 @@ fn create_venv() {
|
|||
context.venv.assert(predicates::path::is_dir());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn create_venv_313() {
|
||||
let context = TestContext::new_with_versions(&["3.13"]);
|
||||
|
||||
uv_snapshot!(context.filters(), context.venv()
|
||||
.arg(context.venv.as_os_str())
|
||||
.arg("--python")
|
||||
.arg("3.13"), @r###"
|
||||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
|
||||
----- stderr -----
|
||||
Using CPython 3.13.[X] interpreter at: [PYTHON-3.13]
|
||||
Creating virtual environment at: .venv
|
||||
Activate with: source .venv/[BIN]/activate
|
||||
"###
|
||||
);
|
||||
|
||||
context.venv.assert(predicates::path::is_dir());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn create_venv_project_environment() -> Result<()> {
|
||||
let context = TestContext::new_with_versions(&["3.12"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue