Skip to content

Commit c11472d

Browse files
committed
Add Go test runs to GitHub Actions CI
Disable devmapper for now until test issues are fixed. Signed-off-by: Phil Estes <[email protected]>
1 parent 8efb17c commit c11472d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,11 @@ jobs:
205205
git checkout "${SHIM_COMMIT}"
206206
GO111MODULE=on go build -mod=vendor -o "${bindir}/containerd-shim-runhcs-v1.exe" ./cmd/containerd-shim-runhcs-v1
207207
208+
- name: Tests
209+
env:
210+
CGO_ENABLED: 1
211+
run: mingw32-make.exe test root-test
212+
208213
- name: Integration 1
209214
env:
210215
CGO_ENABLED: 1
@@ -282,6 +287,15 @@ jobs:
282287
sudo make install
283288
working-directory: src/github.com/containerd/containerd
284289

290+
- name: Tests
291+
env:
292+
GOPROXY: direct
293+
SKIPTESTS: github.com/containerd/containerd/snapshots/devmapper
294+
run: |
295+
make test
296+
sudo -E PATH=$PATH GOPATH=$GOPATH GOPROXY=$GOPROXY make root-test
297+
working-directory: src/github.com/containerd/containerd
298+
285299
- name: Integration 1
286300
env:
287301
GOPROXY: direct

0 commit comments

Comments
 (0)