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

Add test and Github Actions #17

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

wakame1367
Copy link

変更箇所

  • Github Actions(workflow)の追加
  • pytestを使ったテストコードの追加
  • Pipfileの修正
  • Pipfile.lockの削除

Github Actions(workflow)の追加

windows/mac/ubuntu各osに対して下記テストを実行、動作確認をするworkflowファイルを追加しました。またpython3.6-3.8に対してテストを実行しています。

pytestを使ったテストコードの追加

フォントファイルが正しく配置されているか、またmatplotlib側で配置されたフォントのパスが正しく認識されているかという観点でテストコードを作成しました。

Pipfileの修正

Pipfileのrequires部分にpython 3.6と記述されているものをworkflow動作のため、取り除きました。
またpytestを使用するためdev-packagesに追加しています。

Pipfile.lockの削除

Pipfile.lockの必要性を感じなかったため削除しました。

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.

1 participant