Introduction of Integration Tests (#3695)

* Commit of new etcd snapshot integration tests.
* Updated integration github action to not run on doc changes.
* Update Drone runner to only run unit tests

Signed-off-by: dereknola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2021-07-26 09:59:33 -07:00
committed by GitHub
parent f99b1c8798
commit 21c8a33647
229 changed files with 176940 additions and 51 deletions

View File

@@ -25,12 +25,12 @@ jobs:
fetch-depth: 1
- name: Run Unit Tests
run: |
go test -coverpkg=./... -covermode=atomic -coverprofile=coverage.out ./pkg/...
go test -coverpkg=./... -coverprofile=coverage.out ./pkg/... -run Unit
go tool cover -func coverage.out
- name: On Failure, Launch Debug Session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 2
timeout-minutes: 5
- name: Upload Results To Codecov
uses: codecov/codecov-action@v1
with: