Skip to content

Add CI workflow for automated testing #11

@liplus-lin-lay

Description

@liplus-lin-lay

Purpose

PR に対して自動テストを実行する CI ワークフローを追加する。
test_main.py が存在するが CI が未実装のため、回帰検知ができていない。

Premise

  • test_main.py に 7 テスト(エンコーディング・サマリー・フィルタリング)が存在する
  • テストフレームワークは Python 標準の unittest
  • 依存パッケージは requirements.txt に定義済み
  • pytest は未使用(unittest のみ)

Constraints

  • GitHub Actions を使用する
  • Python 3.12 で実行する
  • PR と main push をトリガーとする
  • テスト実行は python -m unittest discover を使用する

Completion Condition

  • .github/workflows/ci.yml が main にマージされている
  • PR 作成時にテストが自動実行される

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions