Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Ulmer committed Sep 26, 2024
1 parent 7eaca5f commit 63bf0a1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Autograding Tests
'on':
- push
- repository_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
run-autograding-tests:
runs-on: ubuntu-latest
if: github.actor != 'github-classroom[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: cmake
id: cmake
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: cmake
setup-command: sudo apt update && sudo apt install cmake libcriterion-dev
command: "./build.sh -c"
timeout: 10
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
CMAKE_RESULTS: "${{steps.cmake.outputs.result}}"
with:
runners: cmake

0 comments on commit 63bf0a1

Please sign in to comment.