Skip to content

Commit

Permalink
chore(upload test report): upload test report to codecov in tool-ci p…
Browse files Browse the repository at this point in the history
…ipeline
  • Loading branch information
imhuwq committed Jul 13, 2023
1 parent c31d5b9 commit b722412
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/tool-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ jobs:
run: |
pip install -r requirements-dev.txt
pytest --cov=deepdataspace -s --cov-report=xml
# - name: Upload Test Report
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true
# verbose: true
# flags: backend
- name: Upload Test Report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
flags: backend
test_frontend:
if: github.repository_owner == 'IDEA-Research'
runs-on: self-hosted
Expand All @@ -118,10 +118,10 @@ jobs:
run: pnpm run dev:build
- name: Run tests and collect coverage
run: pnpm run test
# - name: Upload Test Report
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true
# verbose: true
# flags: frontend
- name: Upload Test Report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
flags: frontend

0 comments on commit b722412

Please sign in to comment.