diff --git a/.github/workflows/generate_document.yml b/.github/workflows/generate_document.yml index 4b8c69206..ed2f8abf4 100644 --- a/.github/workflows/generate_document.yml +++ b/.github/workflows/generate_document.yml @@ -48,7 +48,7 @@ jobs: - name: Build voicevox_core_python_api run: | cargo build -p voicevox_core_c_api -vv - maturin develop --manifest-path ./crates/voicevox_core_python_api/Cargo.toml --locked + poetry run maturin develop --manifest-path ./crates/voicevox_core_python_api/Cargo.toml --locked - name: Generate Sphinx document run: sphinx-build docs/apis/python_api public/apis/python_api - name: Generate Javadoc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3b4f4e0da..b9f24e883 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -274,18 +274,17 @@ jobs: uses: ./.github/actions/rust-toolchain-from-file - run: | pip install --upgrade poetry - cd crates/voicevox_core_python_api poetry install --with dev --with test - run: cargo build -p voicevox_core_c_api -vv - - run: maturin build --manifest-path Cargo.toml --locked - - run: maturin develop --manifest-path Cargo.toml --locked + - run: poetry run maturin build --manifest-path Cargo.toml --locked + - run: poetry run maturin develop --manifest-path Cargo.toml --locked - name: 必要なDLLをコピーしてpytestを実行 run: | cp -v ../../target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/onnxruntime.dll . || true cp -v ../../target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/libonnxruntime.so.* . || true cp -v ../../target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/libonnxruntime.*.dylib . || true - pytest + poetry run pytest build-and-test-java-api: strategy: fail-fast: false