From fb659795a5acbed338c4954595895eaf99a9b070 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Thu, 26 Oct 2023 23:33:56 +0900 Subject: [PATCH 1/2] =?UTF-8?q?test=5Futil=E3=82=AF=E3=83=AC=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=82=92`dev-dependencies`=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/voicevox_core_python_api/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/voicevox_core_python_api/Cargo.toml b/crates/voicevox_core_python_api/Cargo.toml index 195b90c28..d6f7975fa 100644 --- a/crates/voicevox_core_python_api/Cargo.toml +++ b/crates/voicevox_core_python_api/Cargo.toml @@ -23,7 +23,9 @@ 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 + +[dev-dependencies] +test_util.workspace = true # only for its build script From 1fcfa2831bb8d6204538e534de681c3371d59cd6 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Fri, 27 Oct 2023 05:51:51 +0900 Subject: [PATCH 2/2] =?UTF-8?q?voicevox=5Fcore=5Fc=5Fapi=E3=81=AE=E4=BB=A3?= =?UTF-8?q?=E3=82=8F=E3=82=8A=E3=81=ABtest=5Futil=E3=82=92`cargo=20build`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 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: |