generated from lmkr/dat110-project2-mom-startcode
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.35 KB
/
checkassignment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Check assignment code
on:
push:
tags:
- 'handin[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Compile with Maven
run: mvn --batch-mode --update-snapshots compile
- name: Test Storage
run: mvn --batch-mode --update-snapshots test -Dtest=TestStorage
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test1ConnectDisconnect
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test2Reconnect
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test3MultipleConnections
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test4CreateDelete
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test5Subscribe
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test6Publish
- name: Test with Maven
run: mvn --batch-mode --update-snapshots test -Dtest=Test7MultiPublish
- name: Test IoT System
run: mvn --batch-mode --update-snapshots test -Dtest=TestIoTSystem