Skip to content

Commit

Permalink
fix cov + clean testcache
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv committed Oct 3, 2024
1 parent 316ea7d commit 0422316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ccip-ocr3-build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
run: |
git fetch origin ${{ github.base_ref }}
git checkout ${{ github.base_ref }}
{ time TEST_COUNT=1 COVERAGE_FILE=coverage.out make test; } 2> test-results.txt
go clean -testcache
{ time TEST_COUNT=1 COVERAGE_FILE=coverage_target.out make test; } 2> test-results.txt
real_time=$(cat test-results.txt | grep real | awk '{print $2}')
echo "tests_duration_target=$real_time" >> $GITHUB_ENV
total=$(go tool cover -func=coverage_target.out | grep total | awk '{print $3}')
Expand Down

0 comments on commit 0422316

Please sign in to comment.