diff --git a/.github/workflows/integrations-ci.yml b/.github/workflows/integrations-ci.yml index 3120b502..262b04a6 100644 --- a/.github/workflows/integrations-ci.yml +++ b/.github/workflows/integrations-ci.yml @@ -31,14 +31,14 @@ jobs: - name: Install Code Climate Test Reporter run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./integrations/cc-test-reporter - chmod +x ./integrations/cc-test-reporter + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter working-directory: ./integrations - name: Push coverage data to Code Climate env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} run: | - ./integrations/cc-test-reporter before-build - ./integrations/cc-test-reporter after-build --exit-code $? + ./cc-test-reporter before-build + ./cc-test-reporter after-build --exit-code $? working-directory: ./integrations diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index 762c587b..6c8a65e5 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -58,13 +58,15 @@ jobs: - name: Install cc-test-reporter if: github.event_name == 'push' run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./server/cc-test-reporter - chmod +x ./server/cc-test-reporter + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter working-directory: ./server - name: Upload Coverage to Code Climate if: github.event_name == 'push' + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} run: | - ./server/cc-test-reporter before-build - ./server/cc-test-reporter after-build --exit-code $? + ./cc-test-reporter before-build + ./cc-test-reporter after-build --exit-code $? working-directory: ./server diff --git a/.github/workflows/ui-ci.yml b/.github/workflows/ui-ci.yml index 2d95bfe2..d3c9e485 100644 --- a/.github/workflows/ui-ci.yml +++ b/.github/workflows/ui-ci.yml @@ -33,11 +33,11 @@ jobs: env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./ui/cc-test-reporter - chmod +x ./ui/cc-test-reporter - ./ui/cc-test-reporter before-build + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + ./cc-test-reporter before-build if [ -f coverage/lcov.info ]; then - ./ui/cc-test-reporter after-build --exit-code $? --coverage-input-type lcov + ./cc-test-reporter after-build --exit-code $? --coverage-input-type lcov else echo "Coverage report not found." fi