This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Initial commit #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |