Add GitHub Actions CI for lint and unit tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by checking which test files exist and which ones load the model checkpoint, such as test_new_model.py, so they can be excluded from CI. Create a new workflow file under .github/workflows/ that installs only lightweight test dependencies, runs ruff or black in check mode, and runs pytest with the checkpoint-dependent tests skipped. Done when the workflow passes on main, fails on a deliberate lint error or broken test in a PR, and finishes in about five minutes.
Written by the indexing model from the issue text.
Description
Description:
There is no automated check on pull requests. Add a GitHub Actions workflow that runs on push and PR to main.
Scope:
Install only the lightweight dependencies needed for tests (no GPU, no checkpoint download).
Run a linter/formatter check (ruff or black).
Run pytest on tests that don’t need the model. Tests that load the checkpoint (e.g. test_new_model.py) must be skipped in CI.
Acceptance criteria:
The workflow passes on a clean main, fails on a PR with a lint error or a broken test, and finishes in under ~5 minutes.
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from seervii/GeoSharp
All issues in seervii/GeoSharp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
unionai-oss/pandera#2640 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JdeRobot/RoboticsInfrastructure#843 ·
Maintainers usually reply within 1 day
-
automated endpoint-dead needs-curation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
almanac-data/climate-almanac#122 ·
Maintainers usually reply within 1 day
-
area:harness enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
evarness-ai/iris-harness#420 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
suitenumerique/find#206 ·
Maintainers usually reply within 2 days