Skip to content
check

GitHub Action

Autograding Actions Plugin

1.0.0 Latest version

Autograding Actions Plugin

check

Autograding Actions Plugin

Autograding Actions Plugin that evaluates code based on configurable quality critera

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Autograding Actions Plugin

uses: tobimichael96/github-actions-autograding@1.0.0

Learn more about this action in tobimichael96/github-actions-autograding

Choose a version

github-actions-autograding

This actions plugin will build your project with Maven, parse the generated reports, grade the results and give feedback on the pull request.

How to use?

This is an example config you could use in your workflow.

name: Java CI with Maven

on:
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Java CI with Maven
        uses: TobiMichael96/github-actions-autograding@0.1.0
        with:
          TOKEN: ${{ secrets.GITHUB_TOKEN }}

Configuration

  • TOKEN: ThisIsSomeToken (mandatory) to change the token.
  • CONFIG: /path/to/config or CONFIG: "{\"analysis\": { \"maxScore\": 100, \"errorImpact\": -5}}" to provide a config, defaults to /default.conf.
  • DEBUG: true to enable debug.