mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 08:09:38 +00:00
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:
4
.github/workflows/unitcoverage.yaml
vendored
4
.github/workflows/unitcoverage.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user