Skip to content

Commit

Permalink
test: Enhance CLI image conversion test cases
Browse files Browse the repository at this point in the history
- Add test case for target folder output
- Maintain existing target file output test case
- Improve CI workflow test coverage for imgdiet CLI
  • Loading branch information
developer0hye committed Feb 6, 2025
1 parent 46e5d5a commit a3898e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ jobs:
# CLI 테스트를 위한 새 디렉토리 생성
rm -rf test_output
mkdir -p test_output
# CLI로 이미지 변환 실행 - target folder case
imgdiet --source assets/20250105_164724.png --target ./test_output --psnr 40.0
# CLI로 이미지 변환 실행
# CLI로 이미지 변환 실행 - target file case
imgdiet --source assets/20250105_164724.png --target test_output/output.webp --psnr 40.0
# 결과 검증
python -c '
Expand Down

0 comments on commit a3898e7

Please sign in to comment.