Skip to content

Commit

Permalink
fix: update codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
LongxingTan committed Mar 11, 2024
1 parent 3086b05 commit 3e00de4
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,25 @@ jobs:
codecovcli create-commit
codecovcli create-report
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Static Analysis
run: |
codecovcli static-analysis --token=${CODECOV_STATIC_TOKEN} \
--folders-to-exclude .artifacts \
--folders-to-exclude .github \
--folders-to-exclude .venv \
--folders-to-exclude static \
--folders-to-exclude bin
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}'

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: longxingtan/open-retrievals

# - name: Static Analysis
# run: |
# codecovcli static-analysis --token=${CODECOV_STATIC_TOKEN} \
# --folders-to-exclude .artifacts \
# --folders-to-exclude .github \
# --folders-to-exclude .venv \
# --folders-to-exclude static \
# --folders-to-exclude bin
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}


docs:
Expand Down

0 comments on commit 3e00de4

Please sign in to comment.