Skip to content

Commit

Permalink
taosAdapter qa ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SallyHuo-TAOS committed Sep 20, 2024
1 parent 9f7e9c1 commit 34c8c0e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/3.0-qa-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,15 @@ jobs:
- name: collect coverage
run: |
docker exec ${{ steps.run_container.outputs.container_id }} bash -c \
"go tool covdata textfmt -i=${{ env.GOCOVERDIR }} -o ${{ env.GOCOVERDIR }}/coverage.txt && \
go tool cover -html=${{ env.GOCOVERDIR }}/coverage.txt -o ${{ env.GOCOVERDIR }}/coverage.html"
"go tool covdata textfmt -i=${{ env.GOCOVERDIR }} -o ${{ env.GOCOVERDIR }}/coverage.txt"
- name: Upload coverage to Codecov
run: |
cd ${{ env.TAOSADAPTER_DIR }}
curl -s https://codecov.io/bash | bash -s -- -f ${{ env.GOCOVERDIR }}/coverage.txt -t ${{ secrets.CODECOV_ORG_TOKEN }}
uses: codecov/codecov-action@v4-beta
with:
files: ${{ env.GOCOVERDIR }}/coverage.txt
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}

after_success:
runs-on: [self-hosted, linux, x64]
needs: run_taosadapter_test
Expand Down

0 comments on commit 34c8c0e

Please sign in to comment.