Skip to content

Commit

Permalink
[#16] .Update moved sonar to the test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasObenaus committed Feb 17, 2020
1 parent 15f9cce commit f64fee3
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: coverage
run: make test.report

- name: list report files
run: ls -la

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Build
run: make build

Expand All @@ -35,6 +23,7 @@ jobs:
export PATH=$PATH:$(go env GOPATH)/bin
golangci-lint --version
make lint
test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -49,7 +38,13 @@ jobs:
uses: actions/checkout@v1

- name: Run the unit tests and check for race conditions
run: make test
run: make test.report

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Start the local gremlin as preparation for the integration test and run the integration tests
run: |
Expand Down

0 comments on commit f64fee3

Please sign in to comment.