-
Notifications
You must be signed in to change notification settings - Fork 231
42 lines (42 loc) · 1.13 KB
/
make-all.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
40
41
42
on: push
name: make all
jobs:
makeall:
name: make all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: install deps
run: |
sudo apt install -y \
libseccomp-dev \
parallel \
uidmap \
pigz \
--no-install-recommends
shell: bash
- uses: actions/setup-go@v2
with:
go-version: '^1.13.1' # The Go version to download (if necessary) and use.
- name: install go tools
run: |
go get golang.org/x/lint/golint
go get honnef.co/go/tools/cmd/staticcheck
go get -u github.com/go-bindata/go-bindata/go-bindata
sudo mkdir -p /run/runc
sudo chown runner:runner -R /run/runc
shell: bash
- name: make all
run: make all
shell: bash
- name: Run Test Coverage
run: |
make cover
bash <(curl -s https://codecov.io/bash)
shell: bash
- name: Run e2e Tests
run: |
make install
./contrib/e2e-dockerfiles-build-test.sh
env:
STATE_DIR: $HOME/img