123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- name: Carry forward codecov reports
- on:
- push:
- branches: [master]
- jobs:
- carryforward-reports-and-upload-static-analysis:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- - name: Set up Python 3.10.10
- uses: actions/setup-python@v4
- with:
- python-version: '3.10.10'
- - name: Download Codecov CLI
- run: |
- pip install --extra-index-url https://pypi.org/simple --no-cache-dir pytest codecov-cli==0.4.0
-
-
- - name: Codecov startup
- run: |
- 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 }}
|