From 319e439f64637913ae41e699b094f78e25eb8938 Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Tue, 1 Dec 2020 21:21:36 -0800 Subject: [PATCH] Splits Test Jobs (#145) Signed-off-by: Daneyon Hansen --- .github/workflows/prbuild.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prbuild.yaml b/.github/workflows/prbuild.yaml index 3c55f9ef346..f822ce8d500 100644 --- a/.github/workflows/prbuild.yaml +++ b/.github/workflows/prbuild.yaml @@ -7,6 +7,22 @@ env: GOPROXY: https://proxy.golang.org/ jobs: test-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '1.15.2' + - name: deps + run: | + ./hack/actions/install-kubernetes-toolchain.sh $GITHUB_WORKSPACE/bin + echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH + echo "/usr/local/kubebuilder/bin" >> $GITHUB_PATH + - name: test-e2e + run: | + go mod vendor + make test + test-e2e-linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -21,7 +37,7 @@ jobs: - name: test run: | go mod vendor - make local-cluster test test-e2e + make local-cluster test-e2e codespell: name: Codespell runs-on: ubuntu-latest