forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.01 KB
/
unit-tests.yml
File metadata and controls
41 lines (37 loc) · 1.01 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
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
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