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

Github Actionsのmatrix変数をenvに変更 #276

Merged
merged 5 commits into from
Jan 8, 2022

Conversation

Hiroshiba
Copy link
Member

内容

Github Actionsで、コアのバージョンなどを書き換える場所が分散していたので、エディタのようにまとめるようにしてみました。
これでアプデリリースの手間がちょっと減ったかなと思います。

@coveralls
Copy link

coveralls commented Jan 6, 2022

Pull Request Test Coverage Report for Build 1670067815

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.558%

Totals Coverage Status
Change from base Build 1663662764: 0.0%
Covered Lines: 689
Relevant Lines: 796

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Jan 6, 2022

Coverage Result

Resultを開く
Name Stmts Miss Cover
voicevox_engine/init.py 0 0 coverage-100%
voicevox_engine/acoustic_feature_extractor.py 85 0 coverage-100%
voicevox_engine/dev/synthesis_engine/init.py 2 0 coverage-100%
voicevox_engine/dev/synthesis_engine/mock.py 29 0 coverage-100%
voicevox_engine/full_context_label.py 167 5 coverage-97%
voicevox_engine/kana_parser.py 87 1 coverage-99%
voicevox_engine/model.py 70 7 coverage-90%
voicevox_engine/mora_list.py 4 0 coverage-100%
voicevox_engine/preset/Preset.py 12 0 coverage-100%
voicevox_engine/preset/PresetLoader.py 34 1 coverage-97%
voicevox_engine/preset/init.py 3 0 coverage-100%
voicevox_engine/synthesis_engine/init.py 5 0 coverage-100%
voicevox_engine/synthesis_engine/forwarder.py 76 66 coverage-13%
voicevox_engine/synthesis_engine/make_synthesis_engine.py 23 18 coverage-22%
voicevox_engine/synthesis_engine/synthesis_engine.py 107 0 coverage-100%
voicevox_engine/synthesis_engine/synthesis_engine_base.py 55 6 coverage-89%
voicevox_engine/utility/init.py 2 0 coverage-100%
voicevox_engine/utility/connect_base64_waves.py 35 3 coverage-91%
TOTAL 796 107 coverage-87%

Copy link
Member

@PickledChair PickledChair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

エラーになった・なりそうだった部分についてコメントしました。確認よろしくお願いいたします……!

.github/workflows/build.yml Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
@Hiroshiba Hiroshiba requested review from PickledChair and aoirint and removed request for aoirint January 7, 2022 22:27
Copy link
Member

@aoirint aoirint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

気づいたところコメントしてみました。

.github/workflows/build-docker.yml Show resolved Hide resolved
.github/workflows/build-docker.yml Show resolved Hide resolved
.github/workflows/build-docker.yml Show resolved Hide resolved
@Hiroshiba Hiroshiba requested a review from aoirint January 7, 2022 23:09
Copy link
Member

@aoirint aoirint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@PickledChair PickledChair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ほぼ良さそうだったのですが、一部議論が必要そうな部分があったのでコメントしました。

.github/workflows/build.yml Outdated Show resolved Hide resolved
@Hiroshiba
Copy link
Member Author

修正し、ついでに3.8.12を用いていることをREADMEでもわかるようにしてみました。

@PickledChair
Copy link
Member

PickledChair commented Jan 8, 2022

テストが落ちたので変だなと思い https://github.com/VOICEVOX/voicevox_engine/runs/4745476938?check_suite_focus=true を確認しました。

どうも actions/setup-python@v2 では Windows 向けの Python 3.8.12 のサポートがないようです(エラーメッセージ中にあった https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json で各バージョンのサポート状況が確認できます)。3.8 系の中で Windows でも利用可能な一番新しいバージョンは 3.8.10 のようです。おそらくこれまではこれが自動で選択されていたのではと推測しています。3.8.10 に変更した方が良さそうですが、どうでしょうか?

@Hiroshiba
Copy link
Member Author

なるほどです。3.8.10で良い気がするので修正してみます!

Copy link
Member

@PickledChair PickledChair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@Hiroshiba Hiroshiba merged commit ac1721e into master Jan 8, 2022
@Hiroshiba Hiroshiba deleted the build-matrix-variable-to-global branch January 8, 2022 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants