Skip to content

Commit

Permalink
fix: Remove mockgen (#2)
Browse files Browse the repository at this point in the history
* fix: Remove mockgen

Signed-off-by: Ce Gao <[email protected]>

* fix: Remove coverage

Signed-off-by: Ce Gao <[email protected]>

* fix: Fix typo

Signed-off-by: Ce Gao <[email protected]>
  • Loading branch information
gaocegege authored Jun 20, 2022
1 parent 2cb072d commit 06b81f4
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
with:
path: ${{ env.GOPATH }}/src/github.com/tensorchord/envdenvd-lsp
path: ${{ env.GOPATH }}/src/github.com/tensorchord/envd-lsp
- name: Setup Go
uses: actions/setup-go@v2
with:
Expand All @@ -87,19 +87,8 @@ jobs:
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Verify mockgen
run: |
make generate && git add pkg &&
git diff --cached --exit-code || (echo 'Please run "make generate" to verify generate' && exit 1);
- name: Test
run: make test
- name: send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out
working-directory: ${{ env.GOPATH }}/src/github.com/tensorchord/envd-lsp
flag-name: ${{ matrix.os }}
parallel: true
build:
name: build
strategy:
Expand Down Expand Up @@ -131,12 +120,3 @@ jobs:
${{ runner.OS }}-
- name: Build
run: make

# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true

0 comments on commit 06b81f4

Please sign in to comment.