Skip to content

Commit

Permalink
cleanup cover data
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Jan 22, 2025
1 parent 66a5a87 commit 72eac28
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ jobs:
with:
fetch-depth: 1

- name: mount coverage dir
timeout-minutes: 5
uses: ./.github/actions/mount-coverage-dir
with:
mount_point: /ci-coverage
subdir: juicefs/
access_key: ${{ secrets.CI_COVERAGE_AWS_AK }}
secret_key: ${{ secrets.CI_COVERAGE_AWS_SK }}
token: ${{ secrets.CI_COVERAGE_AWS_TOKEN }}

- name: clean up old coverage data
continue-on-error: true
timeout-minutes: 30
run: |
find /ci-coverage -type f \( -name 'covcounters*' -o -name 'covmeta*' \) -mtime +2 -exec rm -f {} +
- name: mount coverage dir
timeout-minutes: 5
uses: ./.github/actions/mount-coverage-dir
Expand Down

0 comments on commit 72eac28

Please sign in to comment.