We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd044c5 commit 2dcd308Copy full SHA for 2dcd308
.github/workflows/autograde.yml
@@ -0,0 +1,35 @@
1
+name: Autograde - Maven tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+ pull_request:
8
9
+ - main
10
11
+jobs:
12
+ autograde:
13
+ name: Autograde (mvn test)
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Java 17
21
+ uses: actions/setup-java@v4
22
+ with:
23
+ distribution: temurin
24
+ java-version: 17
25
26
+ - name: Cache Maven local repository
27
+ uses: actions/cache@v4
28
29
+ path: ~/.m2/repository
30
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
31
+ restore-keys: |
32
+ ${{ runner.os }}-m2-
33
34
+ - name: Run mvn test
35
+ run: mvn -B test
0 commit comments