Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Continuous Integration
on: pull_request
jobs:

build:
name: Build
module:
name: Module build
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -38,3 +38,26 @@ jobs:

- name: Run Static Analyzer
run: go vet -v ./...

gopath:
name: Gopath build
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}/go

steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.12

- name: Check out code into GOPATH
uses: actions/checkout@v2
with:
path: go/src/firebase.google.com/go

- name: Get dependencies
run: go get -t -v $(go list ./... | grep -v integration)

- name: Run Unit Tests
run: go test -v -race -test.short firebase.google.com/go/...