Skip to content

Commit

Permalink
Add Go test runs to GitHub Actions CI
Browse files Browse the repository at this point in the history
Disable devmapper for now until test issues are fixed.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
  • Loading branch information
estesp committed Nov 19, 2020
1 parent 8efb17c commit c11472d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -205,6 +205,11 @@ jobs:
git checkout "${SHIM_COMMIT}"
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
env:
CGO_ENABLED: 1
Expand Down Expand Up @@ -282,6 +287,15 @@ jobs:
sudo make install
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
env:
GOPROXY: direct
Expand Down

0 comments on commit c11472d

Please sign in to comment.