https://github.com/tomitrescak/skillpies-reporting
Github Action to Report Github Classroom Results
https://github.com/tomitrescak/skillpies-reporting
Last synced: 3 months ago
JSON representation
Github Action to Report Github Classroom Results
- Host: GitHub
- URL: https://github.com/tomitrescak/skillpies-reporting
- Owner: tomitrescak
- Created: 2024-07-23T05:37:32.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-02-03T06:49:37.000Z (4 months ago)
- Last Synced: 2025-02-03T07:34:22.658Z (4 months ago)
- Language: JavaScript
- Size: 249 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SkillPies.com Test Reporting
Reports the Github Classroom test results to SkillPies.com
## Inputs
### `courseId`
**Required** UrlId of the course for the solution to report.
### `sectionId`
**Required** UrlId of the section for the solution to report.
### `testResult`
**Required** Test result from the Github Classroom
## Example usage
```yaml
---
- name: Test with Vitest
id: npm
uses: education/autograding-command-grader@v1
continue-on-error: true # report also failed tests
with:
test-name: NPM
setup-command: pnpm install
command: pnpm test -- run
timeout: 10
max-score: 1
- name: Autograding Reporter
uses: education/autograding-grading-reporter@v1
env:
NPM_RESULTS: "${{steps.npm.outputs.result}}"
with:
runners: npm
- name: Report to SkillPies
if: always() # run on failed tests as well
uses: tomitrescak/skillpies-reporting@v1
with:
courseId: my-course,
sectionId: my-section,
testResult: ${{steps.npm.outputs.result}}
```