feat: Initial implementation of K8s Deployment Tracker #4
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
name: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.16' | |
- name: Verify dependencies | |
run: | | |
go mod verify | |
- name: Run tests | |
run: make test | |
- name: Build | |
run: make build | |
- name: Run integration tests | |
run: | | |
make integration-test | |
- name: Upload test coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: coverage-report | |
path: cover.out |