-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add simple tasks and config files #1
Conversation
* build base docker * push to ghrc.io * run checker in it
due not available in inputs
f1f68a1
to
88422ae
Compare
.checker.yml
Outdated
private_patterns: ["**/.*", "**/test_private.py"] | ||
# public patterns to export | ||
public_patterns: ["tools", "pyproject.toml", ".gitignore", "**/test_public.py", "**/conftest.py"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear what happens to files matching both (or none) patterns. Maybe we should use some regex supporting negative lookahead and merge it into a single list?
script: "python -m mypy --config-file=${{ REPO_DIR }}/pyproject.toml ${{ TASK_DIR }}" | ||
|
||
- name: "Collect tests" | ||
run_if: ${{ run_testing }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe those should be nested in some object, like {{ task.run_testing }}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems it is more complicated to do - you need an real objects there e.g. jinja2
script: "python -m pytest --tb=no -qq --collect-only ${{ TASK_DIR }}" | ||
timeout: ${{ timeout }} | ||
|
||
- name: "Run tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the grading one possible solution would be to assign a weight
for each step in the pipeline and use the weighted sum of passed steps as the score. That way you can customize what is making up the score but it still doesn't solve the case with multiple grade types.
Description
The new structure for the course repository under consideration.
.task.yml
fileMotivation and Context
The old structure is outdated, a lot of small deprecated things, some issues not solvable with it, so new.
Please see the main project for the plan.
Related to
Contribution Checklist
General
tag(scope): description
.Added tests?
Added to documentation?
docs/
manytask.github.io
pageWhat gif best describes this PR or how it makes you feel?