Basically just npm start but you need to set two env vars:
CLASSROOM_ORG_NAME and TEACHER_ID.
| env var | value type | Description |
|---|---|---|
| CLASSROOM_ORG_NAME | string | GitHub org-name |
| TEACHER_ID | string | GitHub Username |
| GITHUB_CLIENT_SECRET | string | GitHub Client Secret |
| GITHUB_CLIENT_ID | string | GitHub Client Id |
This repo is for checking the assignments from a Github Classroom-Org against their travis-ci build.
My workflow is as follows:
- Get student Email addresses
- Create a classroom
- Create assigments based on my starter-repos
- Activate all repos in travis-ci
- Run this small project to get an overview, co check if a student has passed
This code basically queries the GitHub Graph API to get repos based on an org.
I have not really tried this in the field, yet. Feel free to clone / fork do whatever you want with this. I did not focus on make things nice or but much time into it, so feel free to improve this code. I KNOW IT'S UGLY.
