From bb11aea7152a0d4245afb3f1f2041f5a9cd500da Mon Sep 17 00:00:00 2001 From: Nahum Shalman Date: Mon, 2 Aug 2021 18:59:31 +0000 Subject: [PATCH] GitHub Action to run illumos tests in a VM --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51b9e603..0b1cf430 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,3 +59,17 @@ jobs: # this is here as a workaround for https://github.com/golangci/golangci-lint-action/issues/244 skip-pkg-cache: true + test-illumos: + runs-on: macos-latest + name: Test in illumos VM + steps: + - uses: actions/checkout@v2 + - name: Test on illumos + id: test + uses: papertigers/illumos-vm@main + with: + prepare: | + pkg set-publisher -r -O https://pkg.omnios.org/r151036/extra extra.omnios + pkg install go-116 + run: | + /opt/ooce/go-1.16/bin/go test