Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the process #110

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .github/workflows/utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,13 @@ jobs:
cd $GITHUB_WORKSPACE/coverage_downloads
sort ut_coverage.out | uniq > ut_coverage_sort.out
zip -r coverage_files.zip ut_coverage_sort.out bvt_coverage.out diff.patch
zip -r ut_origin_files.zip ut_coverage.out

- name: Upload Compressed Files
uses: actions/upload-artifact@v4
with:
name: coverage-files
path: ${{ github.workspace }}/coverage_downloads/coverage_files.zip
retention-days: 7
- name: Upload origin ut_coverage.out
uses: actions/upload-artifact@v4
with:
name: origin-ut-coverage-files
path: ${{ github.workspace }}/coverage_downloads/ut_origin_files.zip
retention-days: 7
- name: Set up Python environment
uses: actions/setup-python@v4
with:
Expand All @@ -223,6 +216,7 @@ jobs:
python $GITHUB_WORKSPACE/parse_coverage.py -coverage_files $GITHUB_WORKSPACE/matrixone/ut_coverage.out $GITHUB_WORKSPACE/matrixone/bvt_coverage.out -diff_path $GITHUB_WORKSPACE/matrixone/diff.patch

- name: Compress final result files
if: ${{ always() && !cancelled() }}
run: |
cd $GITHUB_WORKSPACE/matrixone
cp $GITHUB_WORKSPACE/pr_coverage.out $GITHUB_WORKSPACE/matrixone/pr_coverage.out
Expand All @@ -244,14 +238,6 @@ jobs:
path: |
${{ github.workspace }}/coverage_downloads/final_result_files.zip
retention-days: 7
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
continue-on-error: true
with:
name: daily-test-reports
path: |
${{ github.workspace }}/matrixone
retention-days: 7

pr-size-label:
runs-on: ubuntu-22.04
Expand Down