Use Docker to ensure local tests and CI pipeline tests agree?
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 5.1k
- Fork
- 2.1k
- Merge medio
- 1g 19h
- PR unite (30g)
- 82
Descrizione
Refs:
- https://github.com/papadeltasierra/typeshed/actions/runs/10358301701
- https://github.com/papadeltasierra/typeshed/actions/runs/10358301703
Both these CI pipelines show errors despite me running tests/runtests.py locally beforehand and seeing no errors.
I assume this is the result of some sort of versioning issue between the testing tools being used. Would it be possible to provide a Docker container that has the tooling matching the CI pipeline so that running tests locally matches test results in the CI pipeline?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia da tests/runtests.py e dalle due esecuzioni della pipeline CI collegate, confrontando gli strumenti e le versioni di test locali con quelli utilizzati in CI. Determina se un ambiente basato su Docker può riprodurre localmente i risultati della CI; il lavoro è completo quando il comando locale documentato e la pipeline CI utilizzano strumenti corrispondenti e riportano risultati dei test coerenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, python
- Ambito
- ci-cd, testing-qa, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100