Skip to content

Commit

Permalink
Test coverage conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
fgamundi committed Nov 22, 2023
1 parent 23a1f16 commit 151b107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
-o coverage/ --llvm
fi
if [ "${{ needs.set-tags.outputs.coverage_report }}" == "true" ]; then
if [ "${{ (needs.set-tags.outputs.coverage_report == 'true') && (github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push') }}" == "true" ]; then
echo "Generating coverage report"
wget ${{ vars.S3_BUCKET_URL }}/tanssi-coverage/branches/master/covdir \
-O base_covdir || true
Expand Down

0 comments on commit 151b107

Please sign in to comment.