From d252b81a8b42bbd72c50c80b3178179dcb041a3f Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Fri, 27 Oct 2023 06:39:04 +0900 Subject: [PATCH] =?UTF-8?q?Python=20API=E3=81=A8Java=20API=E3=81=AECargo.t?= =?UTF-8?q?oml=E3=81=8B=E3=82=89test=5Futil=E3=81=B8=E3=81=AE=E4=BE=9D?= =?UTF-8?q?=E5=AD=98=E3=82=92=E5=A4=96=E3=81=99=20(#660)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 4 ++-- Cargo.lock | 2 -- crates/voicevox_core_java_api/Cargo.toml | 3 --- crates/voicevox_core_python_api/Cargo.toml | 1 - 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25da999de..75b2b859f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -274,7 +274,7 @@ jobs: - run: | pip install --upgrade poetry poetry install --with dev --with test - - run: cargo build -p voicevox_core_c_api -vv + - run: cargo build -p test_util -vv # build scriptにより/crates/test_util/data/の生成 - run: poetry run maturin build --locked - run: poetry run maturin develop --locked - name: 必要なDLLをコピーしてpytestを実行 @@ -305,7 +305,7 @@ jobs: - name: Build run: | cargo build -p voicevox_core_java_api -vv - cargo build -p test_util -vv + cargo build -p test_util -vv # build scriptにより/crates/test_util/data/の生成 - name: 必要なDLLをコピーしてテストを実行 working-directory: crates/voicevox_core_java_api run: | diff --git a/Cargo.lock b/Cargo.lock index dc20aab6a..36ac6aa29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4349,7 +4349,6 @@ dependencies = [ "jni", "once_cell", "serde_json", - "test_util", "tokio", "tracing-subscriber", "uuid", @@ -4368,7 +4367,6 @@ dependencies = [ "pyo3-log", "serde", "serde_json", - "test_util", "tokio", "uuid", "voicevox_core", diff --git a/crates/voicevox_core_java_api/Cargo.toml b/crates/voicevox_core_java_api/Cargo.toml index 325d28bd2..22a1a23cd 100644 --- a/crates/voicevox_core_java_api/Cargo.toml +++ b/crates/voicevox_core_java_api/Cargo.toml @@ -21,6 +21,3 @@ tokio.workspace = true tracing-subscriber.workspace = true uuid.workspace = true voicevox_core.workspace = true - -[dev-dependencies] -test_util.workspace = true # only for it's build script diff --git a/crates/voicevox_core_python_api/Cargo.toml b/crates/voicevox_core_python_api/Cargo.toml index 195b90c28..89cd229d5 100644 --- a/crates/voicevox_core_python_api/Cargo.toml +++ b/crates/voicevox_core_python_api/Cargo.toml @@ -23,7 +23,6 @@ pyo3-asyncio = { version = "0.18.0", features = ["tokio-runtime"] } pyo3-log = "0.8.0" serde.workspace = true serde_json.workspace = true -test_util.workspace = true # only for it's build script tokio.workspace = true uuid.workspace = true voicevox_core.workspace = true