Skip to content

Commit

Permalink
ci: upload integration test log
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <[email protected]>
  • Loading branch information
ngjaying committed Aug 19, 2024
1 parent 79be3d8 commit 6a7b94d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/run_test_case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,26 @@ jobs:
make failpoint-enable
go test -trimpath -tags="edgex msgpack script parquet test" --cover -covermode=atomic -coverpkg=./... -coverprofile=coverage.xml ./...
make failpoint-disable
- uses: actions/upload-artifact@v3
if: failure()
with:
name: stream.log
path: log/stream.log
- name: Run fvt
run: |
go test -trimpath -tags="edgex msgpack script parquet" --cover -covermode=atomic -coverpkg=./... -coverprofile=fvt_coverage.xml ./fvt
- uses: actions/upload-artifact@v3
if: failure()
with:
name: fvtstream.log
path: _build/kuiper-$(git describe --tags --always --match 'v[0-9]*.[0-9]*.[0-9]*' | sed 's/^v//g')-$(uname -s | tr "[A-Z]" "[a-z]")-amd64/log/stream.log
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.xml,fvt_coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true
- uses: actions/upload-artifact@v3
if: failure()
with:
name: stream.log
path: log/stream.log

run_fvt_tests:
needs:
Expand Down

0 comments on commit 6a7b94d

Please sign in to comment.