Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RustのdoctestをCI #573

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
key: "cargo-unit-test-cache"
- name: Run cargo unit test
run: RUST_BACKTRACE=full cargo test --lib --bins -vv --features , -- --include-ignored
- name: Run cargo documentation test
run: RUST_BACKTRACE=full cargo test --doc -vv

rust-integration-test-strategy-matrix: # 実行対象の条件をフィルタリングする
runs-on: ubuntu-latest
Expand Down
16 changes: 8 additions & 8 deletions crates/voicevox_core/src/voice_synthesizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ impl Synthesizer {
///
/// let accent_phrases = syntesizer
/// .create_accent_phrases(
/// "こんにちは", // 日本語のテキスト
/// StyleId::new(2), // "四国めたん (ノーマル)",
/// "こんにちは", // 日本語のテキスト
/// StyleId::new(302),
/// &Default::default(),
/// )
/// .await?;
Expand Down Expand Up @@ -378,8 +378,8 @@ impl Synthesizer {
///
/// let accent_phrases = syntesizer
/// .create_accent_phrases(
/// "コンニチワ'", // AquesTalk風記法
/// StyleId::new(2), // "四国めたん (ノーマル)",
/// "コンニチワ'", // AquesTalk風記法
/// StyleId::new(302),
/// &AccentPhrasesOptions { kana: true },
/// )
/// .await?;
Expand Down Expand Up @@ -484,8 +484,8 @@ impl Synthesizer {
///
/// let audio_query = syntesizer
/// .audio_query(
/// "こんにちは", // 日本語のテキスト
/// StyleId::new(2), // "四国めたん (ノーマル)",
/// "こんにちは", // 日本語のテキスト
/// StyleId::new(302),
/// &Default::default(),
/// )
/// .await?;
Expand Down Expand Up @@ -529,8 +529,8 @@ impl Synthesizer {
///
/// let audio_query = syntesizer
/// .audio_query(
/// "コンニチワ'", // AquesTalk風記法
/// StyleId::new(2), // "四国めたん (ノーマル)",
/// "コンニチワ'", // AquesTalk風記法
/// StyleId::new(302),
/// &AudioQueryOptions { kana: true },
/// )
/// .await?;
Expand Down
Loading