I’ve been messing around with GitHub Classroom autograder that uses GitHub actions. I see that it creates a .github folder that has a classroom and workflows folders, which contain the autograding.json and classroom.yml files respectively. I was able to set up the assignment template repos with their own version of autograding.json to call a testing file instead of setting up all the tests individually. So I thought that I could do the same with the classroom.yml file, but it’s getting overwritten with the default file. GitHub actions is running my python testing file with python 2.7 and I need python 3.8, so I changed the files as follows:
name: GitHub Classroom Workflow on: [push] jobs: build: name: Autograding runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: education/autograding@v1
name: GitHub Classroom Workflow on: [push] jobs: build: name: Autograding runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Python uses: actions/setup-python@v2 with: python-version: 3.8 - uses: education/autograding@v1
I’ve been testing this using my own github account but accepting the Classroom link to create a student version of the repo.
Does anyone have any ideas on how to get my version to stick, or am I going to need student to update the classroom.yml file for each assignment?