From c90982d76eaae8f68b510dc81d32133dbd2dbb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sat, 2 Nov 2024 17:36:33 +0100 Subject: [PATCH] Distinguish between Appveyor and github-action Right now, the Codecov UI displays downloads in a confusing way: You get an "appveyor" header, and then 2 list items with links to appveyor, followed by one list item with a link to Github. We didn't specify that appveyor name anywhere, maybe Codecov behaves differently on that platform. Let us see if specifying names for each system makes things clearer. --- .appveyor.yml | 3 ++- .github/workflows/continuous-integration.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8d83495ede2..d2bc2af56db 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -124,4 +124,5 @@ test_script: after_test: - appveyor DownloadFile https://codecov.io/bash -FileName codecov.sh - - bash codecov.sh -f clover.xml + - SET upload_name=appveyor-%db%-%db_version%-%driver%-php-%php% + - bash codecov.sh -f clover.xml -n %upload_name% diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ba7eca917f8..a0106b9d802 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -679,5 +679,6 @@ jobs: with: directory: reports fail_ci_if_error: true + name: github-action env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}