Skip to content

Commit

Permalink
test: use codecov action instead shell
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian authored and peze committed Dec 8, 2023
1 parent 5cb35a1 commit 6216c5c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Unit Test
run: make test
- name: Upload coverage infomartion
run: bash <(curl -s https://codecov.io/bash)
uses: codecov/codecov-action@v3

- name: Smoking Test
run: go run ./main/main.go
Expand All @@ -41,6 +41,8 @@ jobs:
uses: dcarbone/[email protected]
if: matrix.os == 'windows-latest'

- run: test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || bash ./integration/ecs_test.sh
- run: test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || bash ./integration/oss_test.sh
- run: bash ./integration/ecs_test.sh
if: env.ACCESS_KEY_ID != '' && env.ACCESS_KEY_SECRET != ''
- run: bash ./integration/oss_test.sh
if: env.ACCESS_KEY_ID != '' && env.ACCESS_KEY_SECRET != ''

0 comments on commit 6216c5c

Please sign in to comment.