GitXplorerGitXplorer
D

assignment-corrector

public
6 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
eb77acaec1fefc096b4aeb023a55a73cac2a1c1e

Merge pull request #7 from DantasB/run-tests

DDantasB committed 3 years ago
Unverified
c1f420a310c485c17df373f235781fd67a98100c

Update readme

DDantasB committed 3 years ago
Unverified
108978a406a6aa08dba7e517ff8d2e20f7a613bf

Change answers to exercises dir

DDantasB committed 3 years ago
Unverified
424854fc9ea0ab340110eabfa70dfc82d53eb953

Fix bash typo

DDantasB committed 3 years ago
Unverified
41fbf50f14ac4386259d6b924b142ff9d310e7c7

Add subdirectory validation

DDantasB committed 3 years ago
Unverified
5f2ff78eb3b0dbe8eb6de3dee623b6469ba7b31c

Add new validation clause

DDantasB committed 3 years ago

README

The README file for this repository.

assignment-corrector

Objective

The objective of this action is to help the teacher of any language to correct your own activities using the github actions.

How does it works

The idea is that the student will open a pull request to the repository of activities and them, given a set of tests, the action will run them on a container and compare the results between the two inputs.

You can take a look in the diagram below to see how the action works.

diagram

Inputs

programming-language

Required The name of the programming language that you want to use. The name must be the same of the language of the answers file.

The languages supported are:

  • python
  • javascript
  • ruby
  • rust
  • c
  • c++
  • elixir
  • fortran

answer-location

Required The url of the zip answers and your inputs. The url must be located in a secret called ANSWERLOCATION. The structure of the zip file has to be the following:

exercises/
├──question_1/
│       ├─── answer.txt
│       └─── input.txt
├──question_2/
│       ├─── answer.txt
│       └─── input.txt
└──question_3/
        ├─── answer.txt
        └─── input.txt

Outputs

time

The time we received your task

Use Cases

uses: actions/assignment-corrector@v0.0.1-alpha
with:
    programming-language: 'python'
    answer-location: ${{ secrets.AnswerLocation }}