Skip to content

Commit

Permalink
Test2
Browse files Browse the repository at this point in the history
  • Loading branch information
nsurfer committed Sep 11, 2019
1 parent 7f598e1 commit b972d4d
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,15 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.13
env:
GO111MODULE: "off"
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: '1.12.9'
- name: Run tests
run: |
# This project needs to be built in the GOPATH.
mkdir --parents $(go env GOPATH)/src/github.com/nats-io
ln --symbolic $(pwd) $(go env GOPATH)/src/github.com/nats-io/prometheus-nats-exporter
cd $(go env GOPATH)/src/github.com/nats-io/prometheus-nats-exporter
echo "Installing deps"
go get -v github.com/nats-io/gnatsd
go get -v github.com/nats-io/go-nats
go get -v github.com/nats-io/go-nats-streaming
go get -v github.com/nats-io/nats-replicator
go get -v github.com/nats-io/nats-streaming-server
go get -v github.com/nats-io/prometheus-nats-exporter
go get -v github.com/prometheus/client_golang/prometheus
go get -v github.com/prometheus/client_model/go
echo "Testing"
go test -v ./...
pwd
ls
go env

0 comments on commit b972d4d

Please sign in to comment.