Skip to content

Commit

Permalink
Enable the quality monitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Dec 20, 2023
1 parent e6a4338 commit a3ecb63
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 124 deletions.
124 changes: 0 additions & 124 deletions .github/workflows/autograding.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/quality-monitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Quality Monitor PR'

on:
pull_request:

jobs:
build:

runs-on: [ubuntu-latest]
name: Build and test on Ubuntu

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
check-latest: true
cache: 'maven'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.5
- name: Build with Maven
env:
BROWSER: chrome-container
run: mvn -V --color always -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip' -Ppit | tee maven.log
- name: Extract pull request number
uses: jwalton/gh-find-current-pr@v1
id: pr
- name: Run Autograding
uses: uhafner/quality-monitor@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-number: ${{ steps.pr.outputs.number }}

0 comments on commit a3ecb63

Please sign in to comment.