Skip to content

Commit

Permalink
Merge pull request #1 from solo-io/ci
Browse files Browse the repository at this point in the history
add ci
  • Loading branch information
kdorosh authored Nov 16, 2020
2 parents b28e30c + b17c2fa commit 128f8a8
Show file tree
Hide file tree
Showing 28 changed files with 50 additions and 2,171 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: pull_request

on:
push:
branches:
- 'master'
pull_request:

jobs:
test:
name: Tests
runs-on: ubuntu-18.04
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
- uses: azure/setup-kubectl@v1
with:
version: 'v1.18.0'
- uses: engineerd/[email protected]
- name: Run tests
run: |
go get -v github.com/onsi/ginkgo/[email protected] && export PATH=$PATH:$(go env GOPATH)/bin/
ginkgo -r -p -failFast -randomizeSuites -randomizeAllSpecs -skipPackage=./installutils/kubeinstall,./debugutils/test
2 changes: 1 addition & 1 deletion configutils/test/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"

"github.com/rotisserie/eris"
"github.com/solo-io/go-utils/testutils"
"github.com/solo-io/k8s-utils/configutils"
"github.com/solo-io/k8s-utils/testutils"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
113 changes: 0 additions & 113 deletions debugutils/aggregator.go

This file was deleted.

68 changes: 0 additions & 68 deletions debugutils/aggregator_test.go

This file was deleted.

65 changes: 0 additions & 65 deletions debugutils/debugutils_suite_test.go

This file was deleted.

Loading

0 comments on commit 128f8a8

Please sign in to comment.