Add gh action for ci test and coverage

Test Krill isolated for now.

Change-Id: I7aa029e2be44b039411b975d7b90291f9ded89e5
diff --git a/.github/workflows/ci_test_and_coverage.yml b/.github/workflows/ci_test_and_coverage.yml
new file mode 100644
index 0000000..b8aa8bb
--- /dev/null
+++ b/.github/workflows/ci_test_and_coverage.yml
@@ -0,0 +1,27 @@
+name: CI + Coverage Test
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout Krill
+        uses: actions/checkout@v2
+
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v1
+        with:
+          java-version: 1.8
+
+      - name: Build and install Krill
+        run: mvn install
+
+      - name: Generate code coverage report
+        run: mvn cobertura:cobertura
+
+      - name: Upload coverage report to Codecov
+        uses: codecov/codecov-action@v1
+          with:
+            token: ${{ secrets.CODECOV_TOKEN }}
+            verbose: true
diff --git a/.gitignore b/.gitignore
index a236671..5a11e10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@
 /misc/web-api.md
 *~
 .*
+!.github
 !.gitignore
 # /src/main/resources/
 /src/main/resources/server.properties