Skip to content

Merge pull request #40 from Clarifai/Version_9.6.0 #101

Merge pull request #40 from Clarifai/Version_9.6.0

Merge pull request #40 from Clarifai/Version_9.6.0 #101

Workflow file for this run

name: Run tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
shell: bash
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test
shell: bash
env:
CLARIFAI_GRPC_BASE: ${{ secrets.CLARIFAI_GRPC_BASE }}
CLARIFAI_API_KEY: ${{ secrets.CLARIFAI_API_KEY }}
run: go test -v .