Repository navigation
CI: testleri Windows'ta çalıştır - #1
Merged
Merged
Conversation
Eski workflow Ubuntu + Python 3.10 kullaniyordu ve pytest hic test bulamadigi icin (collected 0 items, cikis kodu 5) her calismada basarisiz oluyordu. Proje Windows'a ozel ve Python 3.12 istiyor; testler pytest degil, duz betik. - windows-latest, Python surumu .python-version'dan - bagimliliklar uv.lock'tan (uv sync --locked) - girdi gondermeyen testler: tests/birim.py ve tests/mcp_istemci.py - PYTHONUTF8=1: boruya giden ciktida Turkce karakterler icin - flake8 .venv'i taramasin - elle tetikleme (workflow_dispatch) - checkout v5 / setup-python v6 (Node 20 uyarisi) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FGB738s5cwaGS1RoaJBbpR
birim.py 'ş' karakterini etkin duzende ariyor; GitHub'in Windows runner'i ABD duzeninde oldugu icin bu tek kontrol kaliyordu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FGB738s5cwaGS1RoaJBbpR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Neden
Mevcut workflow Ubuntu + Python 3.10 ile çalışıyordu ve her seferinde başarısız oluyordu (ilk çalıştırma):
collected 0 items, çıkış kodu 5). Testler pytest değil, düz betik ve adlarıtest_*.pybiçiminde değil.requirements.txtyok).Değişiklikler
windows-latest, Python sürümü.python-version'dan (3.12)uv.lock'tan:uv sync --lockedtests/birim.py: saf birim testleritests/mcp_istemci.py: sunucuyu stdio üzerindenPCGOZ_DRY_RUN=1ile başlatıp MCP protokolüyle konuşuyorbirim.pyetkin düzeni kullanıyor veşABD düzeninde olmadığı için o kontrol kalıyordu.PYTHONUTF8=1: çıktı boruya gidince Python cp1252 kullanıyor, testler Türkçe karakter basıyor..venvklasörünü taramıyor.workflow_dispatch: Actions sekmesinden elle çalıştırılabiliyor.actions/checkout@v5,actions/setup-python@v6(Node 20 kullanımdan kalktı uyarısı)Gerçek fare/klavye kullanan veya uygulama açan testler (
smoke.py,kapsam.py,kilit_canli.py,tus_probu.py,pano.py,agir_sayfa.py,ocr_olcum.py) CI'ya eklenmedi. Bunlar gerçek masaüstü istiyor.Test
Bu dalda elle tetiklenen çalıştırma yeşil (çalıştırma):
birim.py: 149 geçti, 0 kaldımcp_istemci.py: 20 geçti, 0 kaldı🤖 Generated with Claude Code
https://claude.ai/code/session_01FGB738s5cwaGS1RoaJBbpR
Generated by Claude Code