forked from woop/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1.2 KB
/
unit_tests.yml
File metadata and controls
45 lines (41 loc) · 1.2 KB
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
40
41
42
43
44
45
name: unit tests
on: [push, pull_request]
jobs:
unit-test-java:
runs-on: ubuntu-latest
container: gcr.io/kf-feast/feast-ci:latest
name: unit test java
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: test java
run: make test-java-with-coverage
- uses: actions/upload-artifact@v2
with:
name: java-coverage-report
path: ${{ github.workspace }}/docs/coverage/java/target/site/jacoco-aggregate/
unit-test-python:
runs-on: ubuntu-latest
container: gcr.io/kf-feast/feast-ci:latest
name: unit test python
steps:
- uses: actions/checkout@v2
- name: install python
run: make install-python
- name: test python
run: make test-python
unit-test-go:
runs-on: ubuntu-latest
container: gcr.io/kf-feast/feast-ci:latest
name: unit test go
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: make compile-protos-go
- name: test go
run: make test-go