Skip to content

Commit

Permalink
Playing with code coverage Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashish committed Oct 19, 2023
1 parent ff9dd38 commit ecd3fa4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
WORKDIR: src/github.com/${{ github.repository }}

strategy:
matrix:
go: [ '1.19', '1.18', '1.17', '1.16', '1.15', '1.14', '1.13', '1.12' ]
go: [ '1.21', '1.20', '1.19', '1.18', '1.17', '1.16', '1.15', '1.14', '1.13', '1.12' ]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -24,17 +21,10 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
path: ${{ env.WORKDIR }}

- name: Build
working-directory: ${{ env.WORKDIR }}
run: .github/scripts/setup.sh

- name: Generate coverage
working-directory: ${{ env.WORKDIR }}
env:
OMISE_PKEY: pkey_test_xxx
OMISE_SKEY: skey_test_xxx
Expand Down

0 comments on commit ecd3fa4

Please sign in to comment.