Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Updating with GitHub Actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
dluman committed Sep 19, 2023
1 parent 9f24429 commit 85af978
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 6 deletions.
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/wizard.md
Original file line number Diff line number Diff line change
@@ -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.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
gatorgrade-config: 'gatorgrade.yml'
if: always()
env:
GITHUB_TOKEN: ${{ secrets.ARBORIST }}
4 changes: 2 additions & 2 deletions basic_addition/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -28,4 +28,4 @@
"showDevDebugOutput": "raw"
}
]
}
}
4 changes: 2 additions & 2 deletions hello_world/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -28,4 +28,4 @@
"showDevDebugOutput": "raw"
}
]
}
}
4 changes: 2 additions & 2 deletions moon_rocks/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -28,4 +28,4 @@
"showDevDebugOutput": "raw"
}
]
}
}

0 comments on commit 85af978

Please sign in to comment.