feat(upsert_pipeline): Prepare plank for adding ff when upserting pipeline. #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Run Plank Tests | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: ["1.14"] # Add more Golang versions if needed | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Cache Build Dependencies # Speeds up subsquent builds | |
uses: actions/cache@v1 | |
with: | |
path: ~/go/pkg/mod | |
key: go-${{ hashFiles('**/go.sum') }} | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Test Plank | |
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./... | |
- name: Send Coverage | |
uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: profile.cov |