Skip to content

Commit

Permalink
testt
Browse files Browse the repository at this point in the history
  • Loading branch information
boddumanohar committed Mar 22, 2021
1 parent 8fc0b6f commit 2de425e
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
sudo apt install cifs-utils procps conntrack -y
GO111MODULE=off go get github.com/rexray/gocsi/csc
- name: Build Test
run: |
export PATH=$PATH:$HOME/.local/bin
make verify
go test -covermode=count -coverprofile=profile.cov ./pkg/...
export DOCKER_CLI_EXPERIMENTAL=enabled && make container
- name: Integration Testing
run: |
export PATH=$PATH:$HOME/.local/bin
make
make integration-test
# - name: Build Test
# run: |
# export PATH=$PATH:$HOME/.local/bin
# make verify
# go test -covermode=count -coverprofile=profile.cov ./pkg/...
# export DOCKER_CLI_EXPERIMENTAL=enabled && make container

# - name: Integration Testing
# run: |
# export PATH=$PATH:$HOME/.local/bin
# make
# make integration-test

- name: Sanity test
env:
Expand All @@ -48,11 +48,12 @@ jobs:
echo "CHECK GITHUB ACTIONS\n"
echo ${{ env.isRunningGithubActions1 }}
echo ${{ env.isRunningGithubActions2 }}
sudo su
make sanity-test
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
GO111MODULE=off go get github.com/mattn/goveralls
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
# - name: Send coverage
# env:
# COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# GO111MODULE=off go get github.com/mattn/goveralls
# $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github

0 comments on commit 2de425e

Please sign in to comment.