Skip to content

Commit

Permalink
Python APIとJava APIのCargo.tomlからtest_utilへの依存を外す (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Oct 26, 2023
1 parent dc8c3db commit d252b81
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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を実行
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions crates/voicevox_core_java_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion crates/voicevox_core_python_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d252b81

Please sign in to comment.