From 151b1076241782a0e1b0be13e8da833abbec9711 Mon Sep 17 00:00:00 2001 From: Francisco Gamundi Date: Wed, 22 Nov 2023 09:54:01 +0100 Subject: [PATCH] Test coverage conditional --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8858ea351..26f8a01e5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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