From 2f3893188cc9f9989550d1c149b4e6af095efca6 Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Tue, 1 Aug 2023 06:21:34 +0100 Subject: [PATCH] ci: download reporters in parallel --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 695fde2..23e1c86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,9 +12,10 @@ jobs: - name: "Download coverage reporters" run: | mkdir -p ./reporter - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./reporter/cc-test-reporter-linux - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./reporter/cc-test-reporter-darwin - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-windows-amd64 > ./reporter/cc-test-reporter-windows.exe + curl -sS -L \ + https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 -o ./reporter/cc-test-reporter-linux \ + https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 -o ./reporter/cc-test-reporter-darwin \ + https://codeclimate.com/downloads/test-reporter/test-reporter-latest-windows-amd64 -o ./reporter/cc-test-reporter-windows.exe - name: "Notify code climate of pending coverage upload" env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}