Add Go test runs to GitHub Actions CI
Disable devmapper for now until test issues are fixed. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
parent
8efb17cc99
commit
c11472d31d
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -205,6 +205,11 @@ jobs:
|
|||||||
git checkout "${SHIM_COMMIT}"
|
git checkout "${SHIM_COMMIT}"
|
||||||
GO111MODULE=on go build -mod=vendor -o "${bindir}/containerd-shim-runhcs-v1.exe" ./cmd/containerd-shim-runhcs-v1
|
GO111MODULE=on go build -mod=vendor -o "${bindir}/containerd-shim-runhcs-v1.exe" ./cmd/containerd-shim-runhcs-v1
|
||||||
|
|
||||||
|
- name: Tests
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: 1
|
||||||
|
run: mingw32-make.exe test root-test
|
||||||
|
|
||||||
- name: Integration 1
|
- name: Integration 1
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
@ -282,6 +287,15 @@ jobs:
|
|||||||
sudo make install
|
sudo make install
|
||||||
working-directory: src/github.com/containerd/containerd
|
working-directory: src/github.com/containerd/containerd
|
||||||
|
|
||||||
|
- name: Tests
|
||||||
|
env:
|
||||||
|
GOPROXY: direct
|
||||||
|
SKIPTESTS: github.com/containerd/containerd/snapshots/devmapper
|
||||||
|
run: |
|
||||||
|
make test
|
||||||
|
sudo -E PATH=$PATH GOPATH=$GOPATH GOPROXY=$GOPROXY make root-test
|
||||||
|
working-directory: src/github.com/containerd/containerd
|
||||||
|
|
||||||
- name: Integration 1
|
- name: Integration 1
|
||||||
env:
|
env:
|
||||||
GOPROXY: direct
|
GOPROXY: direct
|
||||||
|
Loading…
Reference in New Issue
Block a user