Use Docker to ensure local tests and CI pipeline tests agree?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.1k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 82
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/runtests.py and the two linked CI pipeline runs, comparing the local testing tools and versions with those used in CI. Determine whether a Docker-based environment can reproduce the CI results locally; done means the documented local command and CI pipeline use matching tooling and report consistent test outcomes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- ci-cd, testing-qa, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100