diff --git a/.github/ISSUE_TEMPLATE/wizard.md b/.github/ISSUE_TEMPLATE/wizard.md new file mode 100644 index 0000000..75cf502 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/wizard.md @@ -0,0 +1,36 @@ +--- +name: wizard +about: Template for Wizard reports +title: 'Assignment Progress' +labels: '' +assignees: '' + +--- + +# `TODO`s + +{{#outcome}} +{{#todos}} +The latest run of the GatorGrader on this assignment shows you've finished all the tasks! +{{/todos}} +{{^todos}} +Based on the GatorGrader report for this run, here's a summary of what you've got left to do. +{{/todos}} +{{/outcome}} + +{{#checks}} +{{#category}} +## {{category}} + +{{#specifications}} +{{#description}} +- [{{#status}}x{{/status}}{{^status}} {{/status}}] {{.}} +{{/description}} +{{/specifications}} +{{/category}} + +{{/checks}} + +## Percent complete + +Based on the checks achieved, this assignment is `{{#checks}}{{pct}}{{/checks}}%` complete. \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..39aa886 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,38 @@ +name: GatorGrader + +on: + push: + branches: [main] + +jobs: + grade: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: '0' + - name: Setup Python + if: always() + uses: actions/setup-python@v2 + with: + python-version: 3.10.6 + - name: Set up grading environment + run: | + sudo apt-get update + sudo python -m pip install --upgrade pip + sudo python -m pip install gatorgrade --ignore-installed PyYAML + - name: Grade repository + run: | + gatorgrade + if: always() + env: + PIPENV_VENV_IN_PROJECT: 1 + PIPENV_IGNORE_VIRTUALENVS: 1 + - name: Create Wizard report + id: wizard + uses: term-world/wizard@v0.5.4 + with: + gatorgrade-config: 'gatorgrade.yml' + if: always() + env: + GITHUB_TOKEN: ${{ secrets.ARBORIST }} \ No newline at end of file diff --git a/basic_addition/.vscode/launch.json b/basic_addition/.vscode/launch.json index 88be4ac..01c0a95 100644 --- a/basic_addition/.vscode/launch.json +++ b/basic_addition/.vscode/launch.json @@ -3,7 +3,7 @@ "configurations": [ { "name": "Pico Debug", "device": "RP2040", - "gdbPath": "gdb-multiarch", + "gdbPath": "YOUR_PATH_TO_GDB", "cwd": "${workspaceRoot}", "executable": "${command:cmake.launchTargetPath}", "request": "launch", @@ -28,4 +28,4 @@ "showDevDebugOutput": "raw" } ] -} \ No newline at end of file +} diff --git a/hello_world/.vscode/launch.json b/hello_world/.vscode/launch.json index 88be4ac..87be4c4 100644 --- a/hello_world/.vscode/launch.json +++ b/hello_world/.vscode/launch.json @@ -3,7 +3,7 @@ "configurations": [ { "name": "Pico Debug", "device": "RP2040", - "gdbPath": "gdb-multiarch", + "gdbPath": "PATH_TO_YOUR_GDB", "cwd": "${workspaceRoot}", "executable": "${command:cmake.launchTargetPath}", "request": "launch", @@ -28,4 +28,4 @@ "showDevDebugOutput": "raw" } ] -} \ No newline at end of file +} diff --git a/moon_rocks/.vscode/launch.json b/moon_rocks/.vscode/launch.json index 88be4ac..01c0a95 100644 --- a/moon_rocks/.vscode/launch.json +++ b/moon_rocks/.vscode/launch.json @@ -3,7 +3,7 @@ "configurations": [ { "name": "Pico Debug", "device": "RP2040", - "gdbPath": "gdb-multiarch", + "gdbPath": "YOUR_PATH_TO_GDB", "cwd": "${workspaceRoot}", "executable": "${command:cmake.launchTargetPath}", "request": "launch", @@ -28,4 +28,4 @@ "showDevDebugOutput": "raw" } ] -} \ No newline at end of file +}