Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
liontiger23 committed Apr 15, 2024
1 parent 02e55b8 commit f38beb5
Showing 1 changed file with 4 additions and 53 deletions.
57 changes: 4 additions & 53 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,71 +15,22 @@ jobs:
runs-on: ubuntu-latest
if: github.actor != 'github-classroom[bot]'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

- name: Set Locale
run: |
sudo apt-get update && sudo apt-get install tzdata locales -y
sudo locale-gen ru_RU.UTF-8
sudo locale-gen ru_RU
locale -a
- name: Checkout code
uses: actions/checkout@v4
- name: 'Task #1'
id: task-1
uses: education/autograding-command-grader@v1
with:
test-name: 'Task #1'
setup-command: ''
command: "./.test/task1/validate"
timeout: 1
max-score: 1
- name: 'Task #2'
id: task-2
uses: education/autograding-command-grader@v1
with:
test-name: 'Task #2'
setup-command: ''
command: "./.test/task2/validate"
timeout: 1
max-score: 2
- name: 'Task #3'
id: task-3
uses: education/autograding-command-grader@v1
with:
test-name: 'Task #3'
setup-command: ''
command: "./.test/task3/validate"
timeout: 1
max-score: 2
- name: 'Task #4'
id: task-4
uses: education/autograding-command-grader@v1
with:
test-name: 'Task #4'
setup-command: ''
command: "./.test/task4/validate"
timeout: 1
max-score: 2
- name: 'Task #5'
id: task-5
uses: education/autograding-command-grader@v1
with:
test-name: 'Task #5'
setup-command: ''
command: "./.test/task5/validate"
timeout: 1
max-score: 3

# add id to action so outputs can be used
- uses: education/autograding@v1
id: autograder
continue-on-error: true


- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

# switch to badges branch
- run: git checkout badges || git checkout -b badges

Expand Down

0 comments on commit f38beb5

Please sign in to comment.